LemonInflux Posted October 20, 2007 Share Posted October 20, 2007 How do you check if a character is in a string? I guess it'd be like str_contains, but that doesn't exist. Trying to say, if(*the string contains*('|')){ do this } Link to comment https://forums.phpfreaks.com/topic/74052-quick-question/ Share on other sites More sharing options...
wildteen88 Posted October 20, 2007 Share Posted October 20, 2007 Try str_pos -perhaps. Link to comment https://forums.phpfreaks.com/topic/74052-quick-question/#findComment-373866 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.