public static string Left(this string str, int length) { return(StringUtility.Left(str, length)); }
public static string Lower(this string str) { return(StringUtility.Lower(str)); }
public static bool IsIn(this string str, bool caseSensitive, params string[] list) { return(StringUtility.IsIn(str, caseSensitive, list)); }
public static bool IsEmailAddress(this string str) { return(StringUtility.IsEmailAddress(str)); }
/// <summary> /// Returns the string converted to PascalCase. /// </summary> /// <param name="str">The string.</param> public static string ToPascalCase(this string str) { return(StringUtility.ToPascalCase(str)); }
public static bool IsIn(this string str, params string[] list) { return(StringUtility.IsIn(str, false, list)); }
public static bool EndsWithCI(this string str, string value) { return(StringUtility.EndsWithCI(str, value)); }
public static string SplitCaps(this string str) { return(StringUtility.SplitCaps(str)); }
public static bool ContainsCI(this string str, params string[] values) { return(StringUtility.ContainsCI(str, values)); }
/// <summary> /// Returns a value indicating if the string matches the specified value, using a case-insensitive comparison. /// </summary> /// <param name="str">The string.</param> /// <param name="value">The value to compare with.</param> public static bool EqualsCI(this string str, string value) { return(StringUtility.EqualsCI(str, value)); }
public static string ReplaceCI(this string str, string oldValue, string newValue) { return(StringUtility.ReplaceCI(str, oldValue, newValue)); }
public static string[] ConvertCsvToStringArray(this string str, char separator = ',', StringSplitOptions options = StringSplitOptions.RemoveEmptyEntries) { return(StringUtility.ConvertCsvToStringArray(str, separator, options)); }
public static string ChopEnd(this string str, string end) { return(StringUtility.ChopEnd(str, end)); }
public static string ChopStart(this string str, string start) { return(StringUtility.ChopStart(str, start)); }
public static string Right(this string str, int length) { return(StringUtility.Right(str, length)); }