REBOL Programming/entab

      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!]
      ]
      
      Last modified on 27 October 2012, at 22:09