Interesting idea using it to find out the length though that trick only works for JavaScript. In C#, you get an ArgumentOutOfRangeException unless you specify the start position to be within the length of the string.
I'm not sure how useful it would be for finding the position between characters as it can only tell you what the start position was.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Interesting idea using it to find out the length though that trick only works for JavaScript. In C#, you get an
ArgumentOutOfRangeException
unless you specify the start position to be within the length of the string.I'm not sure how useful it would be for finding the position between characters as it can only tell you what the start position was.