Click or drag to resize
AlphabetToIndices Method
Returns the indices corresponding to the argument characters.

Namespace: Algs4Net
Assembly: Algs4Net (in Algs4Net.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public int[] ToIndices(
	string s
)

Parameters

s
Type: SystemString
the characters

Return Value

Type: Int32
the indices corresponding to the characters s
Exceptions
ExceptionCondition
ArgumentExceptionunless every character in s is a character in this alphabet
See Also