Show / Hide Table of Contents

    Class StringExtensions

    Provides convenience extensions for String instances.
    Inheritance
    Object
    StringExtensions
    Namespace: XploRe.Runtime
    Assembly: XploRe.Runtime.dll
    Syntax
    public static class StringExtensions : Object

    Methods

    Name Description
    EndsWith(String, String, Boolean) Determines whether the end of this string instance matches the specified string instance based on a case-sensitive comparison, optionally taking the current culture into account.
    EndsWithIgnoreCase(String, String) Determines whether the end of this string instance matches the specified string instance based on a case-insensitive comparison, taking the current culture into account.
    EndsWithIgnoreCase(String, String, Boolean) Determines whether the end of this string instance matches the specified string instance based on a case-insensitive comparison, optionally taking the current culture into account.
    Equals(String, String, Boolean) Determines whether two String instances have the same value based on a case-sensitive comparison, optionally taking the current culture into account.
    EqualsIgnoreCase(String, String) Determines whether two String instances have the same value based on a case-insensitive, ordinal comparison.
    EqualsIgnoreCase(String, String, Boolean) Determines whether two String instances have the same value based on a case-insensitive comparison, optionally taking the current culture into account.
    FormatWith(String, Object[]) Replaces all positional format placeholders in the current string with the string representation of their corresponding object in the arguments array.
    StartsWith(String, String, Boolean) Determines whether the beginning of this string instance matches the specified string instance based on a case-sensitive comparison, optionally taking the current culture into account.
    StartsWithIgnoreCase(String, String) Determines whether the beginning of this string instance matches the specified string instance based on a case-insensitive comparison, taking the current culture into account.
    StartsWithIgnoreCase(String, String, Boolean) Determines whether the beginning of this string instance matches the specified string instance based on a case-insensitive comparison, optionally taking the current culture into account.
    ToMemoryStream(String, Encoding) Returns a new MemoryStream from this string using the given encoding.
    Back to top Copyright © 2017-2018, xplo.re IT Services, Michael Maier. All rights reserved.