Class: WString
Lua
C++
Edit

WString::Right

This method returns the rightmost characters of the wide string.

Syntax

Parameter Description
length maximum number of characters to return

Returns

Returns the rightmost characters of the string. If the count parameter is equal to or greater than the length of the string, the entire string is returned.

Example

#include "UltraEngine.h"

using namespace UltraEngine;

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

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