$string

# $string Casts a variable to a string
Usage
    $string(<data>)
Description
Forces <data> to be a string data type with the following semantics: If <data> is a string then <data> itself is returned. If <data> is an integer then its decimal rappresentation is returned. If <data> is a real then its decimal floating-point rappresentation is returned. If <data> is a boolean then the string "1" is returned for a true value and the string "0" for a false value. If <data> is nothing (unset) then an empty string is returned If <data> is an array then a string with all the items converted to strings and separated by commas is returned If <data> is a hash then a string with all the values converted to strings and separated by commas is returned If <data> is a hobject then the string "object" is returned Note that since KVIrc does most of the casting work automatically you shouldn't need to use this function.
Syntax Specification
    <integer> $string(<data:variant>)
See also
$real $integer

Index, Functions

KVIrc 3.4.0 Documentation
Generated by loris at Mon Mar 17 20:35:38 2008