Actually its second last character not the last one... so I think
substr($string, -2, 1)would be more appropriate
In reply to Re^2: String matching problem
by cool
in thread String matching problem
by megaurav2002
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |