after the code did its thing, I would want$tofind = "s"; $replacement = "X"; $variable = "snaskes";
$variable = "snaskeX";
I assume this is easier then I think, and I assume it uses s/// or tr/// but Im not sure how.Janitored by Arunbear - added code tags
In reply to Replace the last letter by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |