Hi Frndz,
Functionality: Find the position of character
To achieve this task,
Use IndexOf function
Using this function return index of any character
strValue.IndexOf("c")
Starting index value with 0.
Plus 1 to get actual position of character
Full Logic :
string strValue = "abcd";
int position = strValue.IndexOf("c") + 1;
Hope this helpful!
Thanks