ToBeReviewed/STRING/
tostr.pro
Convert an input in a string.
tostr
String
result = tostr(input)
Return value
a string
Parameters
input
in
required
input can not contain or be of the type of:
Complex floating, structure, Double-precision complex, Pointer, Object
reference, Unsigned Integer, Unsigned Longword Integer, 64-bit
Integer, Unsigned 64-bit Integer
Examples
IDL> help, tostr(1),tostr('a'),tostr(indgen(4)),tostr(['a','jkfjo'])
STRING = '1'
STRING = ''a''
STRING = '[0,1,2,3]'
STRING = '['a','jkfjo']'
IDL> print, tostr(['c''est bon','c''est bon'])
['c''est bon','c''est bon']
Version history
Version
$Id: tostr.pro 372 2008-08-08 12:31:53Z pinsard $
History
Sebastien Masson (smasson@lodyc.jussieu.fr)
18/10/1999
Known issues
Restrictions
If keywdvalue is an array, it will be convert in a vector.
Beware, this function has loops, ifs and cases everywhere. So it can
not be used by big keywords (with a lot of elements which are big
arrays).
Produced by IDLdoc 2.0.