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.

ARGUMENTSEdit

  • string -- (Type: any-string)

REFINEMENTSEdit

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

SOURCE CODEEdit

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

{{BookCat}}
Last modified on 27 October 2012, at 22:13