Is it possible to use LastIndexOf to find the last index of a specific character before another specified character?
Say I had the string 'This is my string', and I wanted to find the last index of the letter 'i' before 'my', how would this be used?
Thanks in advance for any help
Last index
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.

VulpesRank #55 · 29.2K reputationPosted Aug 29, 2011, 8:09 AM EDT
To use LastIndexOf you'd need to use this overload (http://msdn.microsoft.com/en-us/library/1tw91fa3.aspx) which starts the search at a specified position.