Easypt

insert

..Root.String.insert

Inserts a copy of the sequence of characters in the range [first, last) before element pointed by w.

Child of:

String

Signatures:

NativeCallable, Callable

Example:

auto a.=("----");
auto b.=("||");
a.insert(a.begin().+(2), b.begin(), b.end());
log(a);

Expected output:

--||--