TriLib
Search Results for

    Show / Hide Table of Contents

    Class StringExtensions

    Represents a series of String extension methods.

    Inheritance
    object
    StringExtensions
    Inherited Members
    object.GetType()
    object.MemberwiseClone()
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    Namespace: TriLibCore.Extensions
    Assembly: TriLibCore.dll
    Syntax
    public static class StringExtensions

    Methods

    SplitNoAlloc(string, char, string[])

    Splits a string without causing memory allocation.

    Declaration
    public static int SplitNoAlloc(this string value, char separator, string[] buffer)
    Parameters
    Type Name Description
    string value

    String to split.

    char separator

    Separator character.

    string[] buffer

    The buffer to store the Strings.

    Returns
    Type Description
    int

    The number of sub-strings.

    In this article
    Back to top Generated by DocFX