Answers for "bash remove quotes from string variable"

4

shell strip quotes

temp="${opt%\"}"
temp="${temp#\"}"
echo "$temp"
Posted by: Guest on April-11-2021

Code answers related to "bash remove quotes from string variable"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language