Next: Instruction substr, Previous: Instruction strref, Up: String instructions [Contents][Index]
Synopsys:
strset
Given a string STR, an index FROM and a string NEWSTR, copy the content of NEWSTR to STR at index FROM.
Index is zero-based.
If FROM >= the size of the string, or if FROM+len(NEWSTR) > the size of the string, raise the PVM_E_OUT_OF_BOUNDS exception.
Stack: ( STR ULONG NEWSTR -- STR )
Exceptions: PVM_E_OUT_OF_BOUNDS