Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Remove empty and non-alpha chars in string?
Message
From
11/01/2003 08:17:46
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
11/01/2003 08:08:53
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00740604
Message ID:
00740615
Views:
18
>Thank you Cetin. Although a little more complicated solution than Hilmar's, it will be worth to check it out.
>Thank you for your time.
>
>Ulises

I tried it, and think that you should definitely use Çetin's solution; it is much more complete than the one I gave you. strtran() only eliminates one specified character at a time; what you really need is something like "keep only letters", and that is exactly what Çetin's solution does.

Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Reply
Map
View

Click here to load this message in the networking platform