Hi choroba,
The second one is what i am expecting only add when needed and this is working fine for my requirement.can you please get me through how this is working. I have checked on this logic So, tr usually returns the number of characters returned or removed. I tried checking this
$string = 'Tetsing " code implementationm'; $string = tr/"/ /; print $string;
output is coming as 0
Even i tried this
$string =~ tr/"//; print $string;
The output is the same input string
Thanks
In reply to Re^2: Formatting quotes in a String
by pavan474
in thread Formatting quotes in a String
by pavan474
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |