Class StringExtensions | Memory Profiler | 0.1.0-preview.9
docs.unity3d.com
    Show / Hide Table of Contents

    Class StringExtensions

    Inheritance
    Object
    StringExtensions
    Namespace: Unity.MemoryProfiler.Editor.Extensions.String
    Syntax
    public static class StringExtensions

    Methods

    IndexOf(String, Int32, String)

    IndexOf extension using the Boyer-Moore string search algorithm, returns the index to the start of the first occurrence of the provided pattern.

    Declaration
    public static int IndexOf(this string src, int startIndex, string pattern)
    Parameters
    Type Name Description
    String src
    Int32 startIndex
    String pattern
    Returns
    Type Description
    Int32
    In This Article
    • Methods
      • IndexOf(String, Int32, String)
    Back to top
    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