Reply to Re: Function like "in" in Delphi?

Your name:

Reply:


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>

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация