Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How can I check if var is contained w/in a string?

Status
Not open for further replies.

casabella

Programmer
Aug 30, 2007
59
US
Given variable named $var and a string "A~B~C~D~E", how can I find if $var content is contained within string?

Thanks,


Jose Lerebours
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top