[back] [prev] [next] [index] [root]
L := SScan( s, fmt, R1, R2, ...);
| list | L |
containing the kash objects |
| string | s |
|
| string | fmt |
format string |
| rings | R1, R2 |
kash> L := SScan("111, 12, 13","%Z,%Z,%Z");
[ 111, 12, 13 ]
kash> o := OrderMaximal(Z,2,5);;
kash> L := SScan("alpha: [0,27]/12 ","alpha: %E",o);
[ [0, 9] / 4 ]
kash> L := SScan("alpha: [0,27]/12 ","%s %E",o);
[ "alpha:", [0, 9] / 4 ]
kash> s := "true, 17*x^3 + 14*x +2, 2.1382";; kash> fmt := "%B,%P,%R";; kash> L := SScan(s, fmt, Zx); [ true, 17*x^3 + 14*x + 2, 2.1382 ]
kash> s := "foobar : foobar 17*x^3 + 14*x +2, 2.1382";; kash> fmt := "%s : %s %P,%R";; kash> L := SScan(s, fmt, Zx); > [ "foobar", "foobar", 17*x^3 + 14*x + 2, 2.1382 ]
<- back[back] [prev] [next] [index] [root]