Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Chrtran() with tab ??
Message
From
15/04/2009 06:24:54
Albert Beermann
Piepenbrock Service Gmbh & Cokg
Osnabrück, Germany
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Chrtran() with tab ??
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Database:
MySQL
Miscellaneous
Thread ID:
01394917
Message ID:
01394917
Views:
91
Hello Everybody

I have to read line from a log-file into a cursor.
The logfile lines contain tabs( chr(9) ), which i want to eliminate.
l_tab = ATC(CHR(9),myLine)
chr(9) was found,so i tried

if l_tab > 0
myLine = CHRTRAN(myLine,CHR(9), '')
end

No success?
What is the correct syntax to change chr(9) in a string

Any help welcomed
Best regards
Albert
Next
Reply
Map
View

Click here to load this message in the networking platform