You are here: how to find if a string is part of an other string « All PHP « IT news, forums, messages
how to find if a string is part of an other string

Posted by nescio on 10/12/05 12:39

hello,

is there a way to find if a string is part of an other string:

i want to compare if the string 'name' is part of 'the name of the game',
or if 'am' is part of 'game'.

and then something like:
if($a is part of $b)then{
something;
}else{
something else;
}


there must be a way to do this but i can't find it in the manual

thanks

 

Navigation:

[Reply to this 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

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