Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

bash get first n characters

 echo ${FOO:0:10}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #bash #characters
ADD COMMENT
Topic
Name
1+7 =