Search Results for

    Show / Hide Table of Contents

    Class WildcardMatch

    Provides wildcard pattern matching extensions for strings.

    Inheritance
    object
    WildcardMatch
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Akka.Util
    Assembly: Akka.dll
    Syntax
    public static class WildcardMatch

    Methods

    | Edit this page View Source

    Like(string, string, bool)

    Checks if a string matches a wildcard pattern using * for any sequence and ? for any single character.

    Declaration
    public static bool Like(this string text, string pattern, bool caseSensitive = false)
    Parameters
    Type Name Description
    string text

    The text to check against the pattern.

    string pattern

    The wildcard pattern to match with (* for any sequence, ? for any character).

    bool caseSensitive

    Whether the matching should be case sensitive. Default is false.

    Returns
    Type Description
    bool

    True if the text matches the pattern, false otherwise.

    In this article
    • githubEdit this page
    • View Source
    Back to top
    Contribute
    • Project Chat
    • Discussion Forum
    • Source Code
    Support
    • Akka.NET Support Plans
    • Akka.NET Observability Tools
    • Akka.NET Training & Consulting
    Maintained By
    • Petabridge - The Akka.NET Company
    • Learn Akka.NET