Answers for "check if a string only contains letters php and 1 dot"

PHP
1

php check if string contains a char

$haystack = 'This is my haystack that we shall check'
$has_A = strpos($haystack, 'A') !== false;
$has_a = strpos($haystack, 'a') !== false;
Posted by: Guest on August-04-2020

Code answers related to "check if a string only contains letters php and 1 dot"

Browse Popular Code Answers by Language