Rebol Programming/entab

USAGE:

edit
ENTAB string /size number 

DESCRIPTION:

edit

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

ENTAB is a native value.

ARGUMENTS

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

REFINEMENTS

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

SOURCE CODE

edit
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!]
]