Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Strip Character from String
Message
De
23/12/2009 13:24:25
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
01440372
Message ID:
01440373
Vues:
92
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.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform