For AI agents: the complete documentation index is available at /hclapi/llms.txt, the full documentation bundle is available at /hclapi/llms-full.txt, and this page is available as Markdown at /hclapi/docs/manifest/functions/strings/upper.md.

upper

Converts all characters in a string to uppercase.

Signature

upper(str: string) -> string

Parameters

ParameterTypeRequiredDescription
strstringyesInput string

Return value

Returns the documented result for the function signature.

Example

body = { country = upper(ctx.request.query.country) }