docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class SplitDelimiterContiguous

    Aggregates all the successive delimiters into a single split and keeps all the content splits as is.

    Inheritance
    object
    SplitDelimiterContiguous
    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 SplitDelimiterContiguous

    Properties

    Instance

    Gets a shared instance of the SplitDelimiterContiguous.

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

    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)