strtoupper()

Changes a string to uppercase.

Synopsis

string strtoupper(string text);

Parameters

Parameter Description
text Text, which is to be changed to uppercase

Return value

In the event of an error an empty string. If the function is executed successfully, the changed string will be returned.

Error

Missing or illegal arguments.

Description

Changes a string to uppercase.

Example

main()
{
  string text;
  text=strtoupper("this text changes to uppercase");
  DebugN(text); // THIS TEXT CHANGES TO UPPERCASE
}

Assignment

Strings

Availability

CTRL