Hey there,
in my code, i have a variable that represents a string that i need to split up into other values.
like this $var = 'OH r>y 1.2t'
is there a way i can just seperate it at the whitespace between them, so i could have like
$var_a = 'OH'
$var_b = 'r>y'
$var_c = '1.2t'
?
i dont know how to do this part in php. i can find each character by index (that is in my book) but sometimes the first part of the string is going to be longer than the other part.
thanks