Click here to Skip to main content
15,748,748 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
how to find nth occurrence of character in a string in sql server?

Here i have a string and i would like to find out the n'th character of that string.

for example: string is 'Hemanth'

if i want to find out 5'th character i must get 'n' 7'th character i must get 'h' like this. how to do it? some one help me?

1 solution

Share this answer
raxhemanth 28-Jun-15 11:21am    
Thankyou Peter

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900