Skip to Content
0
Former Member
Feb 19, 2009 at 10:02 AM

problem in printing the amount in one line in script

19 Views

Hi friends,

iam facing a problem in scripts

1st line: fifteen lakh thirty th

2nd line : ousand three hundred

instead i need in this way

1st line: fifteen lakh thirty thousand

2nd line : three hundred

ie if the line is not suffienct and if its breaking the word, it should not do that.

it should not break the word it should print in next line.

I dnt want the text in one line..

I want to split when the there is a space before 35 chars in first line

How can i do that.

Regards

Priyanka

Edited by: priyanka jain on Feb 19, 2009 11:10 AM