Version: 2022.2
言語: 日本語

StringViewConstructor

マニュアルに切り替える
public StringView (string baseString);

パラメーター

baseString The base string.

説明

Constructs a StringView over an entire string.


public StringView (string baseString, int startIndex);

パラメーター

baseString The base string.
startIndex The starting index of the view.

説明

Constructs a StringView from a string, starting at index startIndex.


public StringView (string baseString, int startIndex, int endIndex);

パラメーター

baseString The base string.
startIndex The starting index of the view.
endIndex The exclusive ending index of the view.

説明

Constructs a StringView from a string, starting at index startIndex and ending at, but not including, index endIndex.