substr($string, -1) will return the last character in $string.As does chop $string. I think that's the first time I've used chop.
In reply to Re^2: String matching problem
by FunkyMonk
in thread String matching problem
by megaurav2002
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |