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 04:33:22
 
 
To
23/07/2003 04:22:12
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00812675
Message ID:
00812679
Views:
13
This message has been marked as the solution to the initial question of the thread.
>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

Chaim,

Have a look at: at() and atc()
?!empty(at('a', 'ipoipipo')) && false
?!empty(at('a', 'qwertyaa')) && true
Gregory
Previous
Reply
Map
View

Click here to load this message in the networking platform