(ddd-themes.info)String Functions


Next: List Functions Prev: Indentation Functions Up: VSL Library
Enter node , (file) or (file)node

B.11 String Functions
=====================

To retrieve the string from a composite box, use `string()':

 -- VSL Function: string (BOX)
     Return the string (in left-to-right, top-to-bottom order) within
     BOX.

   To convert numbers to strings, use `num()':

 -- VSL Function: num (a [, \varbase])
     For a square box A = (A1, A1), returns a string containing a
     textual representation of A1.  BASE must be between 2 and 16; it
     defaults to `10'.  Example: `num(25) => "25")'

 -- VSL Function: dec (a)
 -- VSL Function: oct (a)
 -- VSL Function: bin (a)
 -- VSL Function: hex (a)
     Shortcut for `num(A, 10)', `num(A, 8)', `num(A, 2)', `num(A, 16)',
     respectively.


automatically generated by info2www version 1.2.2.9