Software
>>
OS
>>
Unix
>>
Shell
>>
bash
>>
How to extract a substring by their start and end position
#
line=1234567890
#
echo $line
1234567890
#
echo ${line:0:5}
12345
Please enable JavaScript to view the
comments powered by Disqus.