Hi there, i need to do this in php:
I have some strings. some have numbers like 18.5 and 4 in them, others have a number and then a b after it. for example my strings might be
$a = '18.5';
$b = '6';
$c = '21.9b';
$d = '3.5b';
$e = '7';
how would i be able to check, say $c and see if it contains a "b" or not?
Thanks for your time.