Get first letter of a word using PHP -
Is it possible to set variable validation only if the Example in my code: You can also use it for this purpose S in the front of the variable?
$ a = "S0225"; $ B = "700 S4"; If (SRPO ($ A, 's')! == incorrect) {"echo"; // will pass this for it} if (SRPO ($ B, 'S')! == incorrect) {echo "PASS"; // For this reason, why is it too close, while I just want the beginning of the variable for the beginning of the S}
if (substr ($ string_goes_here, 0, 1) === 'S') {// Pass}
Comments
Post a Comment