Westwind Utilities
StringUtils.IndexOfNth
Table of Contents
On this page:

StringUtils.IndexOfNth

Returns the nth Index of a character in a string

public static int IndexOfNth(string source, string matchString, 
			int stringInstance, StringComparison stringComparison)

Parameters

source

matchString

stringInstance

stringComparison

Overloads

public static int IndexOfNth(string source, char matchChar, int charInstance)

© West Wind Technologies, 2026 • updated: Jan 30, 2026
Comment or report problem with topic