A
aloha826
Hi,
I need to break a string into few words in case of exceeding 16 chars
at the last occurance of space
For example:
the string has:
"This is just only for testing"
with limit of 16 chars, it reach: "This is just onl"
so, I need to break it to next line at the last occurance of space of
the 16 chars:
so it will be:
"This is just"
"only for testing"
if the 2nd line is exceeding 16 chars, it will break at last
occurance
of space, and move to next line
can anyone provide this function ?
Regards.
I need to break a string into few words in case of exceeding 16 chars
at the last occurance of space
For example:
the string has:
"This is just only for testing"
with limit of 16 chars, it reach: "This is just onl"
so, I need to break it to next line at the last occurance of space of
the 16 chars:
so it will be:
"This is just"
"only for testing"
if the 2nd line is exceeding 16 chars, it will break at last
occurance
of space, and move to next line
can anyone provide this function ?
Regards.