docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class SplitDelimiterIsolate

    Keeps both the content splits and the delimiter splits, separated.

    Inheritance
    object
    SplitDelimiterIsolate
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Unity.InferenceEngine.Tokenization.SplitDelimiterBehaviors
    Assembly: Unity.InferenceEngine.Tokenization.dll
    Syntax
    public class SplitDelimiterIsolate

    Properties

    Instance

    Gets a shared instance of the SplitDelimiterIsolate.

    Declaration
    public static SplitDelimiterIsolate Instance { get; }
    Property Value
    Type Description
    SplitDelimiterIsolate

    Methods

    Apply(SubString, IReadOnlyList<(Range offsets, bool isMatch)>, Output<SubString>)

    Applies the delimiter behavior to the list of splits and stores the result into the specified output.

    Declaration
    public void Apply(SubString source, IReadOnlyList<(Range offsets, bool isMatch)> splits, Output<SubString> output)
    Parameters
    Type Name Description
    SubString source

    The source string of the splits.

    IReadOnlyList<(Range offsets, bool isMatch)> splits

    The list of splits, indicating of the split if a content, or a delimiter.

    Output<SubString> output

    The target list where updated splits are added.

    In This Article
    Back to top
    Copyright © 2026 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)