Version: 2023.1
언어: 한국어

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.