I have a long string, want to break that string in new line after a predefined word count.
My string is look like:
A string is a data type used in programming, such as an integer and floating point unit, but is used to represent text rather than numbers. It is comprised of a set of characters that can also contain spaces and numbers.
I want to split in to new line this string after a 50 character.
1 Answer