substr($variable, rindex($variable,$tofind), length($tofind), $replace +ment) if rindex($variable,$tofind) > -1;
In reply to Re: Replace the last letter
by !1
in thread Replace the last letter
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |