Rebol Programming/detab

USAGE:

edit
DETAB string /size number 

DESCRIPTION:

edit

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

DETAB 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
detab: native[
    "Converts tabs in a string to spaces. (tab size 4)" 
    string [any-string!] 
    /size "Specifies the number of spaces per tab." 
    number [integer!]
]