TU-Berlin → Inst. f. Mathematik → Algebra und Zahlentheorie → KASH → Documentation → Reference Manual
KASH3 Reference Manual
search    

Operation

string S  :=  elt-ord^rat pos

Syntax

<string>[<elt-ord^rat>] := <char>

Description

Assign a character `c' to the string `S' at position `pos'.
Note: `pos' must not be negative nor 0 and must be within the scope of `S', otherwise an error is raised.

Examples

s:="foo bar"; s[7]:='z'; s;

Built: Mon Nov 14 21:12:39 UTC 2005 on mack
The KANT Group