|
Posted by Peter Fox on 10/27/06 09:54
Following on from Sonnich's message. . .
>Hi
>
>Is the such a function like IN in delphi:
>
>if( $somechar in ["a", "b", "d"])
> dsafsakjldg;
>
>where true is for the characters mentioned above.
>
>BR
>S
>
Delphi's in is an operation on a set of enumerated values. So strictly
speaking the answer is no.
If you're looking at finding substrings then RTM.
If you're looking at finding an element or a key in an array then RTM
My preferred version of the manual is the Windows compiled help one.
--
PETER FOX Not the same since the deckchair business folded
peterfox@eminent.demon.co.uk.not.this.bit.no.html
2 Tees Close, Witham, Essex.
Gravity beer in Essex <http://www.eminent.demon.co.uk>
Navigation:
[Reply to this message]
|