StringTools[Shift] - shift the characters in a string by a given amount
|
Calling Sequence
|
|
Shift( s, shift )
|
|
Parameters
|
|
s
|
-
|
Maple string
|
shift
|
-
|
integer; shift amount
|
|
|
|
|
Description
|
|
•
|
The Shift(s, shift) command shifts the characters in a string s by the amount given by shift. The value of shift can be positive, negative, or zero. If the value of shift is zero modulo , the original string is returned unchanged.
|
|
|
Examples
|
|
>
|
|
>
|
|
| (1) |
>
|
|
| (2) |
>
|
|
| (3) |
>
|
|
| (4) |
>
|
|
| (5) |
|
|
Download Help Document
Was this information helpful?