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 } Quote 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. Quote Link to comment https://forums.phpfreaks.com/topic/74052-quick-question/#findComment-373866 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.