Function that inserts the passed substring into a target string, from the specified location.
Syntax |
i32 str_insert (string strDst, string strKey, i32 pos) |
||||||
---|---|---|---|---|---|---|---|
strDst |
String into which strKey is inserted |
||||||
strKey |
String that is inserted into strDst |
||||||
pos |
Index of the insertion position. If pos = 1, inserts at the first position. If pos is outside the size of strDst, insertion is limited to the first or last character |
||||||
Result |
Returns:
|
||||||
Validity |
Rule, Task |
||||||
Note |
Example of use:
|