Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Find position 1st occurrence of nonnumeric value in a st
Message
De
09/01/2008 15:48:44
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
01280661
Message ID:
01280685
Vues:
27
Aw Shucks :o) I guess I'll add the space and made it lcIgnoreChars :o)


>Tracy,
>
>Your way will not work for
>
>lcmyString = "123456789 Boldorn Sam"
>
>
>
>lcIgnoreChars = "0123456789 "
>lcmyString = "123456789 Boldorn Sam"
>lcRest = CHRTRAN(lcmyString , lcIgnoreChars, "")
>? AT("-", CHRTRAN(lcmyString, lcRest, REPLICATE("-", LEN(lcRest))))
>
>
>>I was up too late last night and today my thinking is 'muddled.' :o) I don't want to muddy the waters even more... :o)
>>
>>
.·*´¨)
.·`TCH
(..·*

010000110101001101101000011000010111001001110000010011110111001001000010011101010111001101110100
"When the debate is lost, slander becomes the tool of the loser." - Socrates
Vita contingit, Vive cum eo. (Life Happens, Live With it.)
"Life is not measured by the number of breaths we take, but by the moments that take our breath away." -- author unknown
"De omnibus dubitandum"
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform