What's wrong with the answers in Perl Regex with Extra Spaces?
And what code are you running that produces the wrong output?
It could also be that the program's output is encoded in UTF-16, and the "spaces" you see are actually null-bytes. In this case Encode::decode can help. See also: Character encodings and Unicode in Perl.
In reply to Re: extra spaces between the characters in string
by moritz
in thread extra spaces between the characters in string
by harshashende
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |