Description |
Ins (Magic xpa 2.x)
Inserts one string into another.
|
Syntax:
|
Ins(target, source, position, length)
|
Parameters:
|
target: An Alpha string that represents the target string, the string that you want to insert another string into.
source: An Alpha string that represents the source string, the string that you want to insert into another string.
position: A number that represents the starting position in the alpha string target.
length: A number that represents the number of characters from source that will be inserted into the Alpha string target.
|
Returns:
|
An Alpha string
|
Example:
|
Ins('abcde','xxx',3,1) returns 'abxcde'
|
See also:
|
Del, Rep, Fill
The Online and Rich Client Samples projects (program ST03 and RST03)
|
|
|
---|