Re: removing crlf character with out white spaces
On Fri, Nov 12, 2010 at 7:02 PM, ram <ram_kurra@xxxxxxxxxxx> wrote: > Still i was wondering is there a way that we can remove the spaces from the character ~ to linefeed/eod like the following If the number of spaces between the tilde (~) and the linefeed might vary, you'd either have to: a. test separately for every possible case and eliminate them one by one (very ugly and error-prone), b. rely on a regular expression extension function, if your processor supports one (not very portable) or c. write a recursive named template to walk through the string, keeping track of the starting position of each string of characters you might want to remove and executing the removal when you've reached the linefeed (non-trivial, but a good, powerful technique to have at your disposal). -Brandon :)
PURCHASE STYLUS STUDIO ONLINE TODAY!
Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
Subscribe in XML format