docs.unity3d.com
    Show / Hide Table of Contents

    Class StringExtensions

    Inheritance
    Object
    StringExtensions
    Namespace: Unity.InteractiveTutorials
    Syntax
    public static class StringExtensions

    Methods

    AsEmptyIfNull(String)

    Declaration
    public static string AsEmptyIfNull(this string self)
    Parameters
    Type Name Description
    String self
    Returns
    Type Description
    String

    AsNullIfEmpty(String)

    Declaration
    public static string AsNullIfEmpty(this string self)
    Parameters
    Type Name Description
    String self
    Returns
    Type Description
    String

    AsNullIfWhitespace(String)

    Declaration
    public static string AsNullIfWhitespace(this string self)
    Parameters
    Type Name Description
    String self
    Returns
    Type Description
    String

    IsNotNullOrEmpty(String)

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

    IsNotNullOrWhitespace(String)

    Declaration
    public static bool IsNotNullOrWhitespace(this string self)
    Parameters
    Type Name Description
    String self
    Returns
    Type Description
    Boolean

    IsNullOrEmpty(String)

    Declaration
    public static bool IsNullOrEmpty(this string self)
    Parameters
    Type Name Description
    String self
    Returns
    Type Description
    Boolean

    IsNullOrWhitespace(String)

    Declaration
    public static bool IsNullOrWhitespace(this string self)
    Parameters
    Type Name Description
    String self
    Returns
    Type Description
    Boolean
    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