Overloaded function inserting one character or other string at desired position.
fn (str: *string, index: s32, v: u8) bool #inline
Insert one character into str at index and return true when character was inserted.
Note
The input str can be reallocated when index is equal to input string len and more space is needed.
str Valid pointer to input string.
index Position in the string, could be equal to input string len.
v Character to be inserted.
Returns true when character was inserted.
fn (str: *string, index: s32, v: string) bool
Insert other string into str at index and return true when string was inserted.
Function does nothing (return false) when v string is empty.
v String to be inserted.
Returns true when string was inserted.
Declared in: string.bl