partial-method submitted these extension methods

  • InnerTruncate

    Truncates the given string by stripping out the center and replacing it with an elipsis so that the beginning and end of the string are retained. For example, "This string has too many characters for its own good."InnerTruncate(32) yields "This string has...its own good."
    C# System.String Partial Method