Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

bash check for substring in string

[[ $haystack =~ "Needle" ]]
 
PREVIOUS NEXT
Tagged: #bash #check #substring #string
ADD COMMENT
Topic
Name
4+9 =