docs.unity.cn
Search Results for

    Show / Hide Table of Contents

    Method FirstToUpper

    FirstToUpper(string)

    Capitalizes the first letter of a string.

    Declaration
    public static string FirstToUpper(this string str)
    Parameters
    Type Name Description
    string str

    String to be capitalized.

    Returns
    Type Description
    string

    The new string.

    In This Article
    Back to top
    Copyright © 2024 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)