message(string) : string

Returns a string with a placeholder replaced by a number.

Parameters:

string - string with a placeholder between % characters, f.i. "The value is: %value%".

Parameters:

string - formatted string.

Example:

print(message("The document ID is: \"%name%\".") << sDocument);

See also:

print, throw

► latest version online