>>So my quesitoni is 'how to discover what the character is ?chr$(10)(13) >>and how to eliminate those before parsing.
CHR$(10) & CHR$(13) - carriage return & line feed Those are special "command" character from the "stone age" of the informatic used to go to the next line (add new line) - was needed in the times where a martix printer with ink ribbon the single output device of the computer was.... Try using REPLACE$, I never used it in GAMBAS, but the same operator in VB6 was able to remove every char (also those with special functions) ResultString=REPLACE$(InputStringWithBadChars, CHR$(10), "") ResultString=REPLACE$(ResultString, CHR$(13), "") This will search (in 2 Stages) first for CHR$(10) and than for CHR$(13) and replace them with empty strings... hope this helps kind regards Emil ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Gambas-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/gambas-user
