< Rebol Programming

USAGE:

ENTAB string /size number 

DESCRIPTION:

Converts spaces in a string to tabs. (tab size 4)

ENTAB is a native value.

ARGUMENTS

  • string -- (Type: any-string)

REFINEMENTS

  • /size -- Specifies the number of spaces per tab.
    • number -- (Type: integer)

SOURCE CODE

entab: native[
    "Converts spaces in a string to tabs. (tab size 4)" 
    string [any-string!] 
    /size "Specifies the number of spaces per tab." 
    number [integer!]
]
This article is issued from Wikibooks. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.