hi everyone..
how to get the part of string and make it into a variable..
sample :
"determine"
now, i want to take just "mine" or 4 word from right, or "deter" (for left function).
and after i got it, i want to make the "mine" into $x variable
my mind..
$x = "mean"
help please...
$x = substr("determine",-4);

For more information on SUBSTR,

http://www.php.net/manual/en/function.substr.php

;)

--
Kyle Gibson
admin(at)frozenonline.com
http://www.frozenonline.com/


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to