Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Find position 1st occurrence of nonnumeric value in a st
Message
 
 
To
09/01/2008 15:42:14
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01280661
Message ID:
01280684
Views:
16
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)
>
>
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform