Rebol Programming/as-string

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

USAGE:[edit | edit source]

AS-STRING string 

DESCRIPTION:[edit | edit source]

Coerces any type of string into a string! datatype without copying it.

AS-STRING is a native value.

ARGUMENTS[edit | edit source]

  • string -- (Type: any-string)

SOURCE CODE[edit | edit source]

as-string: native[
    {Coerces any type of string into a string! datatype without copying it.} 
    string [any-string!]
]