Hi Everybody
I am a newbee to the unix scripting.
i had a string like Id: 1234567, length 7
can you please help me to get only 1234567 (no coma) from string.
thanks in advance.
Hi Everybody
I am a newbee to the unix scripting.
i had a string like Id: 1234567, length 7
can you please help me to get only 1234567 (no coma) from string.
thanks in advance.
Id="1234567, length 7"
echo ${Id%%,*}
1234567