DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR SHELL
split string in shell script
IN="bla@some.com;john@home.com" arrIN=(${IN//;/ }) echo ${arrIN[1]} # Output: john@home.com
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#split
#string
#shell
#script
ADD COMMENT
Topic
COMMENT
Name
3+4 =
Submit