Websydian v6.1 online documentationOnline documentation - Websydian v6.1

StringFunctions Function

Server and WebServer functions

All string functions are internal and available in two variants, one for server side function calls and one for web server function calls. Ensure that you are using the correct function variant depending on the calling function.

The server variant follows the language used by the Storage variant and the web server variant follows the language used by the WSYBASE variant.

The string functions supports the languages WinC, WinNTC, Java, RPG400, RPGIV, SQLRPG400 and SQLRPGIV.

For ease of use, the implementation of string functions are one-based - no matter which language is used. This means that the first character in a string always has position 1.

The stringfunctions will return an error in Environment<*Returned status> if an error occurs in the function.