The 3rd argument of substr is a length, not another offset! You should be using substr($line,11,2)=" ";
In reply to Re: Search/Replace Character
by FunkyMonk
in thread Search/Replace Character
by rhiannasilel
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |