DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR SHELL
shell script iterate over characters in string
foo=string for (( i=0; i<${#foo}; i++ )); do echo "${foo:$i:1}" done
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#shell
#script
#iterate
#characters
#string
ADD COMMENT
Topic
COMMENT
Name
5+6 =
Submit