chop modifies its argument and returns the chopped character. Does your program print 'd'?
I'm assuming the html line breaks are a posting error and not present in your source.
Don't use $a or $b as a user variable, they are owned by sort.
After Compline,
Zaxo
In reply to Re: "Chop" problems
by Zaxo
in thread "Chop" problems
by $Variable_B
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |