Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Is some letter in the chracter (text function)
Message
From
23/07/2003 05:46:30
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Germany
 
 
To
23/07/2003 04:22:12
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00812675
Message ID:
00812696
Views:
12
Hi Chaim,
in addition to Gregory (with less function calls)
?'a'$'ipoipipo' && false
?'a'$'qwertyaa' && true
Agnes
>Some one can remind me how can I know if some letter appeared in the text?
>for example, if I want to know if 'a' appeared:
>?func('gskljklj') return .f. ('a' not appeared)
>?func('asdfaa') return .t. ('a' appeared)
>Thank
Words are given to man to enable him to conceal his true feelings.
Charles Maurice de Talleyrand-Périgord

Weeks of programming can save you hours of planning.

Off

There is no place like [::1]
Previous
Reply
Map
View

Click here to load this message in the networking platform