Last modified on 27 October 2012, at 22:09

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.

ARGUMENTSEdit

  • string -- (Type: any-string)

REFINEMENTSEdit

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

SOURCE CODEEdit

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