docs.unity3d.com
    Show / Hide Table of Contents

    Class StringExtensions

    Inheritance
    Object
    StringExtensions
    Namespace: PvpXray
    Syntax
    public static class StringExtensions

    Methods

    EndsWithOrdinal(String, String)

    Declaration
    public static bool EndsWithOrdinal(this string str, string value)
    Parameters
    Type Name Description
    String str
    String value
    Returns
    Type Description
    Boolean

    IndexOfOrdinal(String, String, Int32)

    Declaration
    public static int IndexOfOrdinal(this string str, string value, int startIndex = 0)
    Parameters
    Type Name Description
    String str
    String value
    Int32 startIndex
    Returns
    Type Description
    Int32

    IndexOfOrdinal(String, String, Int32, Int32)

    Declaration
    public static int IndexOfOrdinal(this string str, string value, int startIndex, int count)
    Parameters
    Type Name Description
    String str
    String value
    Int32 startIndex
    Int32 count
    Returns
    Type Description
    Int32

    LastIndexOfOrdinal(String, String, Int32)

    Declaration
    public static int LastIndexOfOrdinal(this string str, string value, int startIndex = 0)
    Parameters
    Type Name Description
    String str
    String value
    Int32 startIndex
    Returns
    Type Description
    Int32

    LastIndexOfOrdinal(String, String, Int32, Int32)

    Declaration
    public static int LastIndexOfOrdinal(this string str, string value, int startIndex, int count)
    Parameters
    Type Name Description
    String str
    String value
    Int32 startIndex
    Int32 count
    Returns
    Type Description
    Int32

    StartsWithOrdinal(String, String)

    Declaration
    public static bool StartsWithOrdinal(this string str, string value)
    Parameters
    Type Name Description
    String str
    String value
    Returns
    Type Description
    Boolean
    Back to top
    Terms of use
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023