![]() |
![]() |
![]() |
![]() |
(..Expressions..) | Contents | Index | (..Expressions..) |
|
Compared with integer expressions the
structure of string expressions
(strings) is easier. The reason for this is very simple:
there exists only one operator that converts two strings into a new string,
namely the concatenation operator + , which simply attaches one string
to another.
The basic modules of StringExpression are
Besides the general scopy function there exists a second, special way to get to substrings:
returns the i-th character of StringExpression, where i is of
IntExpression,
0
i
len(StringExpression)
- 1.
(As usual we start counting from 0.)
![]() |
![]() |
![]() |
![]() |
(..Expressions..) | Contents | Index | (..Expressions..) |