The first code says Forbidden chars again.So show the input and output, quit making us guess (and when I say 'output' I mean the new string, not the number you're trying to calculate).
As far as which approach, don't worry about it. Just pick one (as long as it works).
In reply to Re^6: How to avoid an alphabet and integer next to it in a string?
by runrig
in thread How to avoid an alphabet and integer next to it in a string?
by piscean
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |