|
|
Question : how do I remove double quotes from a string
|
|
Hi all, How do I remove double quotes from a string? Example: I have a string "apple" in a list and I want to replace it with apple but not try to remove the leading and trailing " because I might get strings that might not have quotes. So in essence I want to remove quotes if they are present.
Thanks, chintaps
|
Answer : how do I remove double quotes from a string
|
|
s/"//g;
tr/"//d;
|
|
|
|
|