Skip to Content
0
Former Member
May 26, 2014 at 08:49 AM

Meaningfull text

22 Views

HI Experts,

I want to display some text based on the user inputs,Question here is i want to display it meaningful way.

For ex, if i gave length as 50, output is displayed with last word splitted and coming to new line, like "PAV" in one line

and "AN" in another line. actual word is PAVAN. so in such case the whole word will print on the next line instead of splitting.

1)split the text based on user input(length)

2)split it meaningfully.

Anyone suggest how to proceed for this.