Skip to content

String

Use of string methods

UP has built-in methods for string handling. The methods can be found via the global namespace 'string'.

Samples

// get length of a string
intVar = string.strlen(stringVar);

WSTRING assignment

Wstrings must be assigned only via these methods:

// assignment to a wstring
wstringVar = string.wstrassign(stringVar);