Is there a function that wraps strings after a certain amount of text, but instead of breaking onto a new line simply stops printing the rest of the string in place of ...
eg: The cat jumped onto the mat
I need a function that would wrap it to something like
The cat jumped on...
eg: wraps to nothing after 17 characters in the example.
eg: The cat jumped onto the mat
I need a function that would wrap it to something like
The cat jumped on...
eg: wraps to nothing after 17 characters in the example.
Comment