docs.unity.cn
Search Results for

    Show / Hide Table of Contents

    Property Length

    Length

    The current length in bytes of this string.

    Declaration
    public int Length { readonly get; set; }
    Property Value
    Type Description
    int

    The current length in bytes of the UTF-8 encoded string.

    Implements
    IIndexable<T>.Length
    Remarks

    The length does not include the null terminator byte.

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