Hi ppl,
Can you tell me what does this mean?
if (substr($text, -1) == ".")
{$test = substr($text, 0, -1);}
I know the if part searches the $text from the starting for the "."
I am just confused about what the second and third arguement does in the
substr. (Second line)
I know that this is an easy question for you PHP guys out there,
and I know i will get an answer,
so I thank you all in advance.
Cheers
-Ryan A.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php