REBOL Programming/uppercase

From Wikibooks, open books for an open world
< REBOL Programming
Jump to: navigation, search

USAGE:[edit]

UPPERCASE string /part range 

DESCRIPTION:[edit]

Converts string of characters to uppercase.

UPPERCASE is a native value.

ARGUMENTS[edit]

  • string -- (Type: any-string char)

REFINEMENTS[edit]

  • /part -- Limits to a given length or position.
    • range -- (Type: integer any-string)

SOURCE CODE[edit]

uppercase: native[
    "Converts string of characters to uppercase." 
    string [any-string! char!] 
    /part "Limits to a given length or position." 
    range [integer! any-string!]
]