Hello,
On a Sun Solaris 8 system in a Bourne shell script I have a variable with a string. This string is made up of items that are comma delimited (ITEMS="item1,item2,item3," etc.). The last entry always has a comma.
In my ITEMS string variable, how can I get rid of the last comma?
Thanks,
Michael42
On a Sun Solaris 8 system in a Bourne shell script I have a variable with a string. This string is made up of items that are comma delimited (ITEMS="item1,item2,item3," etc.). The last entry always has a comma.
In my ITEMS string variable, how can I get rid of the last comma?
Thanks,
Michael42