Negative numbers count from the end of the string for position. Note that this only works if you have a 4 digit number with another character on the end.substr($string, -5, 4);
In reply to Re: Last Letters
by lemming
in thread Last Letters
by ImpalaSS
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |