advanced code snippet search
aresnick on 11/05/08
String substring contains
2 people have marked this snippet as a favorite
string='My string'; if [[ $string == *My* ]]then echo "It's there!";fi
Report this snippet
You need to login to post a comment.