Hi Mukul,
You can find a solution to your problem at teh following site.
It talks about splitting line by finding out the last "space" before a
specified line length.
check out, HTH
http://www-106.ibm.com/developerworks/library/x-tiplnbrk.html
regards
Balajee Chandrasekaran
Software Engineer
Majesco Software Inc.
Phone: 91-22-5695 2222 Extn No 7911
------------------------------------
Work
Choose a job you love, and you will never have to
work a day in your life
Confucius, BC 551-479, Chinese Ethical Teacher
---------------------------------------
-----Original Message-----
From: Mukul [mailto:mukulw3(_at_)yahoo(_dot_)com]
Sent: Friday, January 24, 2003 10:02 AM
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: [xsl] Problem with Substring in XSL
Hello ,
I have a string str1 in a XML file. I want to split it
into 2 strings str1 and str2. str1 should be the
substring before last blank character, and str2 should
be rest of the string after blank.
for e.g. str is -- abcdef 12345 pqrst 3423
str1 should be -- abcdef 12345 pqrst, &
str2 should be -- 3423
How can I do this?
Regards,
Mukul
__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
MASTEK
Investing in relationships
In the US, we're called MAJESCO
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Opinions expressed in this e-mail are those of the individual and not that of
Mastek Limited, unless specifically indicated to that effect. Mastek Limited
does not accept any responsibility or liability for it. This e-mail and
attachments (if any) transmitted with it are confidential and/or privileged and
solely for the use of the intended person or entity to which it is addressed.
Any review, re-transmission, dissemination or other use of or taking of any
action in reliance upon this information by persons or entities other than the
intended recipient is prohibited. This e-mail and its attachments have been
scanned for the presence of computer viruses. It is the responsibility of the
recipient to run the virus check on e-mails and attachments before opening
them. If you have received this e-mail in error, kindly delete this e-mail from
all computers.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list