[as] Trim characters from fields
[as] Trim characters from fields

It was creating some stupid problems and the code
wasn't very optimal. This new version is simpler
(if you can read good C code) and avoid an additional
run over the field.

k0gaMSX/scc,k0gaMSX/scc,k0gaMSX/scc