up previous next
4.3.5 Commands and Functions for Strings
|
***** NOT YET UPDATED TO CoCoA-5: follow with care *****
The following are commands and functions for strings:
ascii
|
convert between characters and ascii code
|
comp
|
the N-th component of a list
|
DecimalStr
|
convert rational number to decimal string
|
FloatStr
|
convert rational number to a float string
|
Format
|
convert object to formatted string
|
GetEnv
|
access shell variables
|
IO.SprintTrunc
|
convert to a string and truncate
|
IsIn
|
check if one object is contained in another
|
Latex
|
LaTeX formatting
|
MantissaAndExponent
|
convert rational number to a float
|
Max
|
a maximum element of a sequence or list
|
Min
|
a minimum element of a sequence or list
|
NewId
|
create a new identifier
|
OpenIString
|
open input string
|
OpenOString
|
open output string
|
ref
|
function calls by reference
|
spaces
|
return a string of spaces
|
sprint
|
convert to a string
|
For details look up each item by name. Online, try
?ItemName
or
H.Syntax("ItemName")
.