BytecodeApi Documentation

StringConverterMethod Enumeration

Specifies the method that is used to convert String values.

Namespace:  BytecodeApi.UI.Converters
Assembly:  BytecodeApi.UI (in BytecodeApi.UI.dll)

Syntax


public enum StringConverterMethod
Public Enumeration StringConverterMethod
public enum class StringConverterMethod

Members


Member nameDescription
Concat Concatenates the value and parameter and returns the combined String.
Trim Removes all leading and trailing white-space characters from the String value.
TrimStart Removes all leading white-space characters from the String value.
TrimStartString Removes all leading occurrences of the parameter String from the String value.
TrimStartStringIgnoreCase Removes all leading occurrences of the parameter String from the String value, ignoring character casing.
TrimEnd Removes all trailing white-space characters from the String value.
TrimEndString Removes all trailing occurrences of the parameter String from the String value.
TrimEndStringIgnoreCase Removes all trailing occurrences of the parameter String from the String value, ignoring character casing.
ToLower Returns the String value in its lowercase representation.
ToUpper Returns the String value in its uppercase representation.
ToCamelCase Returns the String value in its camel case representation using the CamelCase method.
ToLowerSnakeCase Returns the String value in its lower snake case representation using the LowerSnakeCase method.
ToUpperSnakeCase Returns the String value in its upper snake case representation using the UpperSnakeCase method.
ToLowerKebabCase Returns the String value in its lower kebab case representation using the LowerKebabCase method.
ToUpperKebabCase Returns the String value in its upper kebab case representation using the UpperKebabCase method.
Substring Returns a substring from the String value. The substring starts at a specified character position in the parameter and continues to the end of the string.
Left Returns a String containing a specified number of characters from the left side of the String value. If the String is longer than the specified length, the String is truncated by the length parameter, otherwise, the original String is returned.
Right Returns a String containing a specified number of characters from the right side of the String value. If the String is longer than the specified length, the String is truncated by the length parameter, otherwise, the original String is returned.
StartsWith Returns a Boolean value indicating whether the beginning of the String value matches the String parameter.
StartsWithIgnoreCase Returns a Boolean value indicating whether the beginning of the String value matches the String parameter, ignoring character casing.
EndsWith Returns a Boolean value indicating whether the end of the String value matches the String parameter.
EndsWithIgnoreCase Returns a Boolean value indicating whether the end of the String value matches the String parameter, ignoring character casing.
Reverse Reverses the sequence of all characters in the String value.
Contains Returns a Boolean value indicating whether the String parameter occurs within the String value.
ContainsIgnoreCase Returns a Boolean value indicating whether the String parameter occurs within the String value, ignoring character casing.
ReplaceLineBreaks Replaces all occurrences of linebreaks ("\n" and "\r\n") in the String value with a replacement value in the String parameter.
TrimText Trims the String value by the specified length in the Int32 parameter. If the String is longer than the value of length, it will be truncated by a leading "..." to match the length parameter, including the length of the "..." appendix (3 characters).
StringDistanceLevenshtein Returns a Int32 value representing the levenshtein distance between the String and the parameter String. If the value or the parameter are nullNothingnullptra null reference (Nothing in Visual Basic), or parameter is not a String, nullNothingnullptra null reference (Nothing in Visual Basic) is returned.
StringDistanceDamerauLevenshtein Returns a Int32 value representing the damerau-levenshtein distance between the String and the parameter String. If the value or the parameter are nullNothingnullptra null reference (Nothing in Visual Basic), or parameter is not a String, nullNothingnullptra null reference (Nothing in Visual Basic) is returned.