The LastIndexOf method in C# System.Text.StringBuilder class is used to find the index position of the last occurrence of a specified character or substring within a StringBuilder object. It returns the zero-based index of the last occurrence of the specified character or substring, or -1 if the character or substring is not found. This method searches the StringBuilder from right to left.
C# (CSharp) System.Text StringBuilder.LastIndexOf - 16 examples found. These are the top rated real world C# (CSharp) examples of System.Text.StringBuilder.LastIndexOf extracted from open source projects. You can rate examples to help us improve the quality of examples.