/UnixLab

Primary LanguageShell

z=`expr "$string" : '[^d]*d'`

to check occurence of the character in string