Class: String
Lua
C++
Edit

String::GetSize

This method returns the number of characters in the string.

Syntax

Returns

Returns the number of characters in the string.

Example

#include "UltraEngine.h"

using namespace UltraEngine;

int main(int argc, const char* argv[])
{
    String s = "Hello, how are you today?";
    Print(s.GetSize());

    return 0;
}
Copyright © 2024 Ultra Software.
All rights reserved.