Show / Hide Table of Contents

Method StringUtil.FindUnderlineChar


Overload

Finds character used to underline next character when the text is displayed in UI.

public static int FindUnderlineChar(string s, char underlineChar = '&')
Parameters
s  (string)

Can be null.

underlineChar  (char)
Returns
int

Character index, or -1 if not found.