Hi
i have a string value in a variable STR
eg. STR="ABSDSCSFS"
How can be convert it to LOWERCASE in the script?
Thanks
Hi
i have a string value in a variable STR
eg. STR="ABSDSCSFS"
How can be convert it to LOWERCASE in the script?
Thanks
One way using tr is
echo "$STR" | tr '[:upper:]' '[:lower:]'
Hi
What to do if we want permanent change in STR not just echoing like below??????
STR=$(echo "$STR" | tr '[:upper:]' '[:lower:]')
Regards
Please refer to the link,
You can use typeset.
Thanks
Nagarajan G
Thanks !!!!!!!!!!!!!!