BourneShell substring

How do I determine whether a variable called spath=”/srv/www/cyberciti.biz/https” contains a substring called “cyberciti.biz”?

{ 5 comments }

How can I find out whether a variable called $vech contains a substring called ‘car’ under bash?

vech=’car bus bike rail airplane’

{ 0 comments }