DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR SHELL
strstr bash
strstr() { [ "${1#*$2*}" = "$1" ] && return 1 return 0 }
Source by www.shellscript.sh #
PREVIOUS
NEXT
Tagged:
#strstr
#bash
ADD COMMENT
Topic
COMMENT
Name
3+3 =
Submit