Char index () function Return the Location of substring in String,If we have a string value like this [Education management system] and want to return location of substring [Cati] in String then we use char Index To get result like this
Write this Query
SELECT CharIndex ('Cati' , 'Education management system' ) AS MatchPosition
Execute Query and get result like this
MatchPosition
4
Substring [ Cati ] Location in String on Number 4
Share This with your friend by choosing any social account