PATINDEXString functions in MS SQL SERVERTransact-SQL string and datetime functionsCHARINDEX and PATINDEX functionsString functions in MS SQL SERVER