This method returns the rightmost characters of the wide string.
Parameter | Description |
---|---|
length | maximum number of characters to return |
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.
#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;
}