docs.unity.cn
    Show / Hide Table of Contents

    Class StringExt

    Static helper functions for System.String. Useful for example in LINQ queries.

    Inheritance
    Object
    StringExt
    Namespace: Unity.Tutorials.Core.Editor
    Syntax
    public static class StringExt : object

    Methods

    IsNotNullOrEmpty(String)

    Indicates whether a specified string is null or an empty string ("").

    Declaration
    public static bool IsNotNullOrEmpty(string str)
    Parameters
    Type Name Description
    String str
    Returns
    Type Description
    Boolean

    IsNotNullOrWhiteSpace(String)

    Indicates whether a specified string is not null, empty, or consists only of white-space characters.

    Declaration
    public static bool IsNotNullOrWhiteSpace(string str)
    Parameters
    Type Name Description
    String str
    Returns
    Type Description
    Boolean
    Back to top Copyright © 2020 Unity Technologies
    Generated by DocFX
    on Thursday, July 8, 2021