HtmlEscape(input, leaveSingleQuotesAlone, leaveDoubleQuotesAlone) Indent(str, by, indentFirstLine) ParseInt(str, default_, style, provider) Replace(str, oldValue, newValue, comparison)
Legend Class Struct Enum Interface Delegate | Constructor Method Property Event Field |
| Extension method: int Utf16Length(this string)Declarationpublic static int Utf16Length(
this string input
) Summary
Determines the length of the UTF-16 encoding of the specified string. Parametersthis string | input |
String to determined UTF-16 length of. |
Returns
The length of the string in bytes when encoded as UTF-16. |