Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Searching for the string function
Message
 
To
07/01/1999 16:33:57
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00173714
Message ID:
00173823
Views:
33
Hi Albert,

>should be -> " HELLO WORLD HI "

Some how the blanks got dropped by the UT, as it is above, although I directly quoted it. Must be some HTML thing. :)

>Might be useful to drop the upper(), add "a...z" to the chrtran() string. Doing this gives the option of using atc() for case insensitive searches and at() for case sesitive searches.

No, that's not necessary. Only the inner ChrTran() contains an Upper() in order to determine all characters that are not alphas. The outer works on the original string and removes those non-alpha characters. It does preserve the case of the string. :)

Christof
--
Christof
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform