Search Results for

    Show / Hide Table of Contents

    Class StringExtensions

    Inheritance
    object
    StringExtensions
    Namespace: GGL.Extensions
    Assembly: GGL.dll
    Syntax
    public static class StringExtensions

    Methods

    | Edit this page View Source

    Remove(string, string)

    Return a new string with a specific part removed

    Declaration
    public static string Remove(this string str, string partToRemove)
    Parameters
    Type Name Description
    string str
    string partToRemove
    Returns
    Type Description
    string
    | Edit this page View Source

    Reverse(string)

    Reverse current string into a new one

    Declaration
    public static string Reverse(this string str)
    Parameters
    Type Name Description
    string str
    Returns
    Type Description
    string
    | Edit this page View Source

    Subtract(string, params char[])

    Return a new string excluding a set of characters

    Declaration
    public static string Subtract(this string str, params char[] excludedChars)
    Parameters
    Type Name Description
    string str
    char[] excludedChars
    Returns
    Type Description
    string
    • Edit this page
    • View Source
    In this article
    Back to top Generated by DocFX