Javascript – How to break up string based on specific length after finding the whitespace nearest to the character limit?
I have to break up a string field into multiple string fields if the original string exceeds a specific character limit. The original string can be of different lengths but the additional fields like string2, and string3 have a max…