DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR SHELL
substring in shell script
STR="birthday-091216-pics" SUBSTR=$(echo $STR | cut -d'-' -f 2) echo $SUBSTR
Source by stackabuse.com #
PREVIOUS
NEXT
Tagged:
#substring
#shell
#script
ADD COMMENT
Topic
COMMENT
Name
7+7 =
Submit