Top
Back: string expressions
Forward: string operations
FastBack: ring
FastForward: vector
Up: string
Top: Singular Manual
Contents: Table of Contents
Index: Index
About: About this document

4.20.3 string type cast

Syntax:
string ( expression [, expression_2, ... expression_n])
Type:
string
Purpose:
Converts each expression to a string, where expression can be of any type. The concatenated string of all converted expressions is returned.


The elements of intvec, intmat, ideal, module, matrix, and list, are separated by a comma. No newlines are inserted.
Not defined elements of a list are omitted.
For link, the name of the link is used.
For map, the ideal defining the mapping is converted.

Note:
When applied to a list, elements of type intvec, intmat, ideal, module, matrix, and list become indistinguishable.

Example:
 
See Type conversion and casting; print; string.


Top Back: string expressions Forward: string operations FastBack: ring FastForward: vector Up: string Top: Singular Manual Contents: Table of Contents Index: Index About: About this document
            User manual for Singular version 3-1-6, Dec 2012, generated by texi2html.