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
Loading
VulpesPosted Aug 29, 2011, 12:09 PM
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.