This type contains the following members.

public static class StringExtensions
Inheritance:
ObjectStringExtensions

Extension Methods

EqualsLenient(string, string, StringComparison) Compares two strings and returns true if they are equal. Empty strings and null values are considered equal.
EqualsLenient(string, string, bool) Compares two strings and returns true if they are equal. Empty strings and null values are considered equal.
NullIfWhitespace(string) Returns null if the input string is null or contains only whitespace, otherwise returns the input string unchanged.
Tokenize(string, string)
ToNormalizedFilePath(string, string) Normalizes a file path by replacing all directory separator characters with forward slashes.
ToSafeFilePath(string, string) Converts a file path to a OS-specific safe file path, replacing directory separator characters if necessary.