Rebol 程式設計/entab
外觀
ENTAB string /size number
將字串中的空格轉換為製表符。(製表符大小為 4)
ENTAB 是一個本機值。
- 字串 --(型別:any-string)
- /size -- 指定每個製表符的空格數。
- 數字 --(型別:整數)
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!]
]