kCura.Utility.Strings
Provides static methods for manipulating instance of String.
Compares strings.
public Strings()
Inserts new line characters within a string at the specified character interval.
Gets a string representing an HTML bulleted list of the provided objects.
Ensures the provided string ends with a backslash.
Gets a formatted string representation of the provided TimeSpan.
Gets the hash string associated with the provided array of bytes.
Replaces capitilized letters with " $0", trimming the result.
Indicates whether or not the two provided strings are equal.
Indicates whether or not the two provided strings are equal.
Indicates if the two strings are Like one another.
Reference: https://docs.microsoft.com/en-us/dotnet/visual-basic/language-reference/operators/like-operator
Projects the values of the array to a new form using the provided delegate.
Breaks a string representation of an error into a tuple, replacing new line characters with in the second value.
public static Tuple<string, string> ParseErrorMessageForDisplay(string errorMessage, bool replaceNewlines)
Breaks a string representation of an error into a tuple, optionally replacing new line characters with in the second value.
Replaces doubled spaces with non-breaking spaces.
Splits a string.
Splits the specified string into elements according to the rules
of comma separated files.
Splits a string, appending the provided message to each chunk.
Converts the input to string to is CSV cell content representation.
Replaces system new line characters with the provided new line proxy; doubles any existing bound strings in the input.
Removes leading and trailing white-space and normalizes and extra spaces to a single space.
Trims the input string of surrounding quotation marks if there are any.
Trims only a single set of quotation marks.
Truncates the input string to be the length provided. Will add suffix the string with given suffix if string is shorter than the given length