Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Strip Character from String
Message
From
23/12/2009 13:24:25
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01440372
Message ID:
01440373
Views:
93
This message has been marked as the solution to the initial question of the thread.
>I know this is probably a one line command,but can't find it. I have some character fields that represent time 07:00, 08:45, etc
>
>I need to strip the : character out and return just 0700,0845, etc

chrtran(lcString, ":", "")

although I've heard that strtran() is faster - sounds illogical to me, and I never bothered to test. The speed difference may not be anything much.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Reply
Map
View

Click here to load this message in the networking platform