Skip to Content
0
Former Member
Jul 01, 2009 at 10:46 AM

String problem

37 Views

Dear all,

I have an variable like Spell-amount which is 160 character long.

Now i want to print this variable in two line.

like this,

spell-amount(40) in first line

spell-amount+40(120) in second Line

one crore thirty five lakhs twenty two th

ousand eight hundered sixty three.

Now the question is i want to print these two line like this:

one crore thirty five lakhs twenty two

thousand eight hundered sixty three.

how can i do this??????????????

i want to avoid to cut the word.

Help me