Answers for "bash loop through characters in string"

0

shell script iterate over characters in string

foo=string
for (( i=0; i<${#foo}; i++ )); do
  echo "${foo:$i:1}"
done
Posted by: Guest on October-28-2021
0

bash for loop string

for value in I like programming
do
    echo $value
done
Posted by: Guest on October-13-2021

Code answers related to "bash loop through characters in string"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language