public static class StringExtensions

Inheritance Chain

Static Methods

    public static string Basename(this string instance)

    public static bool BeginsWith(this string instance, string text)

    public static string[] Bigrams(this string instance)

    public static string Capitalize(this string instance)

    public static int CasecmpTo(this string instance, string to)

    public static string CEscape(this string instance)

    public static string CUnescape(this string instance)

    public static bool Empty(this string instance)

    public static bool EndsWith(this string instance, string text)

    public static void Erase(this StringBuilder instance, int pos, int chars)

    public static bool ExprMatch(this string instance, string expr, bool caseSensitive)

    public static string Extension(this string instance)

    public static int Find(this string instance, string what, int from = 0)

    public static int FindLast(this string instance, string what)

    public static int FindN(this string instance, string what, int from = 0)

    public static string GetBaseDir(this string instance)

    public static string GetFile(this string instance)

    public static int Hash(this string instance)

    public static int HexToInt(this string instance)

    public static string Insert(this string instance, int pos, string what)

    public static bool IsAbsPath(this string instance)

    public static bool IsRelPath(this string instance)

    public static bool IsSubsequenceOf(this string instance, string text, bool case_insensitive)

    public static bool IsSubsequenceOf(this string instance, string text)

    public static bool IsSubsequenceOfI(this string instance, string text)

    public static bool IsValidFloat(this string instance)

    public static bool IsValidHtmlColor(this string instance)

    public static bool IsValidIdentifier(this string instance)

    public static bool IsValidInteger(this string instance)

    public static bool IsValidIpAddress(this string instance)

    public static string JsonEscape(this string instance)

    public static string Left(this string instance, int pos)

    public static int Length(this string instance)

    public static bool Match(this string instance, string expr)

    public static bool Matchn(this string instance, string expr)

    public static byte[] Md5Buffer(this string instance)

    public static string Md5Text(this string instance)

    public static int NocasecmpTo(this string instance, string to)

    public static int OrdAt(this string instance, int at)

    public static string PadDecimals(this string instance, int digits)

    public static string PadZeros(this string instance, int digits)

    public static string PercentDecode(this string instance)

    public static string PercentEncode(this string instance)

    public static string PlusFile(this string instance, string file)

    public static string Replace(this string instance, string what, string forwhat)

    public static string Replacen(this string instance, string what, string forwhat)

    public static int Rfind(this string instance, string what, int from = -1)

    public static int Rfindn(this string instance, string what, int from = -1)

    public static string Right(this string instance, int pos)

    public static byte[] Sha256Buffer(this string instance)

    public static string Sha256Text(this string instance)

    public static float Similarity(this string instance, string text)

    public static string[] Split(this string instance, string divisor, bool allow_empty = true)

    public static float[] SplitFloats(this string instance, string divisor, bool allow_empty = true)

    public static string StripEdges(this string instance, bool left = true, bool right = true)

    public static string Substr(this string instance, int from, int len)

    public static byte[] ToAscii(this string instance)

    public static float ToFloat(this string instance)

    public static int ToInt(this string instance)

    public static string ToLower(this string instance)

    public static string ToUpper(this string instance)

    public static byte[] ToUtf8(this string instance)

    public static string XmlEscape(this string instance)

    public static string XmlUnescape(this string instance)
Tags: