Rebol Programming/uppercase

From Wikibooks, open books for an open world
Jump to navigation Jump to search

USAGE:[edit | edit source]

UPPERCASE string /part range 

DESCRIPTION:[edit | edit source]

Converts string of characters to uppercase.

UPPERCASE is a native value.

ARGUMENTS[edit | edit source]

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

REFINEMENTS[edit | edit source]

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

SOURCE CODE[edit | edit source]

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