StringTools[Exchange] - exchange two characters in a string
|
Calling Sequence
|
|
Exchange( s, m, n )
|
|
Parameters
|
|
s
|
-
|
Maple string
|
m
|
-
|
positive integer
|
n
|
-
|
positive integer
|
|
|
|
|
Description
|
|
•
|
The Exchange( s, m, n ) command exchanges characters m and n in the string s. The integers m and n must satisfy .
|
|
|
Examples
|
|
>
|
|
>
|
|
| (1) |
>
|
|
| (2) |
>
|
|
| (3) |
|
|
Download Help Document
Was this information helpful?