LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

This version of Unity is unsupported.

AndroidJNI.GetStringUTFLength

public static int GetStringUTFLength(IntPtr str);

Description

Returns the length in bytes of the modified UTF-8 representation of a string.