Méthode | Description | |
---|---|---|
AppendCodePoint ( this s, int c ) : StringBuilder |
Appends a unicode code point in the range 0 to 0x10FFFF to StringBuilder in UTF-16.
|
|
EndsWith ( this sb, UString what, bool ignoreCase = false ) : bool |
Finds out whether the StringBuilder ends with the specified substring.
|
|
IndexOf ( this sb, UString searchStr, int startIndex, bool ignoreCase = false ) : int |
Gets the index of a substring in a StringBuilder
|
|
IndexOf ( this sb, char value, int startIndex ) : int |
Gets the index of a character in a StringBuilder
|
|
Last ( this str ) : char |
Returns the last character of the string
|
|
LastIndexOf ( this sb, UString searchStr, int startIndex = int.MaxValue, bool ignoreCase = false ) : int |
Gets the index of a substring in a StringBuilder
|
|
LastIndexOf ( this sb, char searchChar, int startIndex = int.MaxValue ) : int |
Gets the index of a character in a StringBuilder
|
|
LastOrDefault ( this str, char @default = '\0' ) : char |
Returns the last character of the string, or a default character if the string is empty.
|
|
StartsWith ( this sb, UString what, bool ignoreCase = false ) : bool |
Finds out whether the StringBuilder starts with the specified substring.
|
|
Substring ( this sb, int startIndex, int length ) : string |
Extracts a substring from the specified StringBuiler.
|
|
SubstringEquals ( StringBuilder sb, int start, UString what, bool ignoreCase = false ) : bool |
Checks if the sequences of characters
|
|
Trim ( this sb ) : StringBuilder |
Removes all leading and trailing occurrences of spaces and tabs from the StringBuilder object.
|
|
TrimEnd ( this sb ) : StringBuilder |
Removes all trailing occurrences of spaces and tabs from the StringBuilder object.
|
|
TrimStart ( this sb ) : StringBuilder |
Removes all leading occurrences of spaces and tabs from the StringBuilder object.
|
|
TryGet ( this s, int index, char defaultValue ) : char | ||
TryGet ( this s, int index ) : char? |
Méthode | Description | |
---|---|---|
SubstringEqualHelper ( StringBuilder sb, int start, UString what, bool ignoreCase = false ) : bool |
public static AppendCodePoint ( this s, int c ) : StringBuilder | ||
s | this | |
c | int | |
Résultat | StringBuilder |
public static EndsWith ( this sb, UString what, bool ignoreCase = false ) : bool | ||
sb | this | |
what | UString | |
ignoreCase | bool | |
Résultat | bool |
public static IndexOf ( this sb, UString searchStr, int startIndex, bool ignoreCase = false ) : int | ||
sb | this | |
searchStr | UString | |
startIndex | int | |
ignoreCase | bool | |
Résultat | int |
public static IndexOf ( this sb, char value, int startIndex ) : int | ||
sb | this | |
value | char | |
startIndex | int | |
Résultat | int |
public static LastIndexOf ( this sb, UString searchStr, int startIndex = int.MaxValue, bool ignoreCase = false ) : int | ||
sb | this | |
searchStr | UString | |
startIndex | int | |
ignoreCase | bool | |
Résultat | int |
public static LastIndexOf ( this sb, char searchChar, int startIndex = int.MaxValue ) : int | ||
sb | this | |
searchChar | char | |
startIndex | int | |
Résultat | int |
public static LastOrDefault ( this str, char @default = '\0' ) : char | ||
str | this | |
@default | char | |
Résultat | char |
public static StartsWith ( this sb, UString what, bool ignoreCase = false ) : bool | ||
sb | this | |
what | UString | |
ignoreCase | bool | |
Résultat | bool |
public static Substring ( this sb, int startIndex, int length ) : string | ||
sb | this | |
startIndex | int | |
length | int | |
Résultat | string |
public static SubstringEquals ( StringBuilder sb, int start, UString what, bool ignoreCase = false ) : bool | ||
sb | StringBuilder | |
start | int | |
what | UString | |
ignoreCase | bool | |
Résultat | bool |
public static Trim ( this sb ) : StringBuilder | ||
sb | this | |
Résultat | StringBuilder |
public static TrimEnd ( this sb ) : StringBuilder | ||
sb | this | |
Résultat | StringBuilder |
public static TrimStart ( this sb ) : StringBuilder | ||
sb | this | |
Résultat | StringBuilder |
public static TryGet ( this s, int index, char defaultValue ) : char | ||
s | this | |
index | int | |
defaultValue | char | |
Résultat | char |
public static TryGet ( this s, int index ) : char? | ||
s | this | |
index | int | |
Résultat | char? |