Search Results for

    Show / Hide Table of Contents

    Class StringExtensions

    Defines a collection of extensions for .

    Inheritance
    System.Object
    StringExtensions
    Namespace: Legerity.Extensions
    Assembly: Legerity.Core.dll
    Syntax
    public static class StringExtensions : object

    Methods

    | Improve this Doc View Source

    Contains(String, String, CultureInfo, CompareOptions)

    Determines whether the specified value contains the comparison value by the specified culture and comparison option.

    Declaration
    public static bool Contains(this string value, string contains, CultureInfo culture, CompareOptions compareOption)
    Parameters
    Type Name Description
    System.String value

    The value to check contains the contains value.

    System.String contains

    The value that should be contained within the value.

    CultureInfo culture

    The culture for comparison.

    CompareOptions compareOption

    The comparison option.

    Returns
    Type Description
    System.Boolean

    True if the value contains the contains value; otherwise, false.

    | Improve this Doc View Source

    RemoveUnicodeCharacters(String)

    Removes unicode characters from the specified string.

    Declaration
    public static string RemoveUnicodeCharacters(this string value)
    Parameters
    Type Name Description
    System.String value

    The string to remove unicode characters from.

    Returns
    Type Description
    System.String

    The string with unicode characters removed.

    • Improve this Doc
    • View Source
    In This Article
    Back to top Copyright (c) MADE Apps