Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

split string and create array bash

my_array=($(echo $string | tr "," "
"))
 
PREVIOUS NEXT
Tagged: #split #string #create #array #bash
ADD COMMENT
Topic
Name
3+9 =