Hi All,
I have a string D1168+89
Here I want to know at which position character “+” is present in the above string.
Here as we can se it is present at 6 th position , But how do we find out that.
Hi All,
I have a string D1168+89
Here I want to know at which position character “+” is present in the above string.
Here as we can se it is present at 6 th position , But how do we find out that.
Hi,
Can you try IndexOf methos as the following?
"D1168+89".IndexOf("+")
This returns 5 as zero-based index.
Regards,
Thankyou SO much , it worked
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.