La interfaz de VDS Renaissance está disponible en varios idiomas. La documentación oficial se mantiene en inglés para garantizar una referencia única, coherente y siempre actualizada.

@STRINS

Windows Linux macOS

Syntax

@STRINS(<string>,<pos1>,<string2>)

Description

This function returns a string consisting of <string> with <string2> inserted at position <pos1>. The characters in the string are counted from 1.

If <pos1> is omitted or zero then the function returns <string> unmodified. If <pos1> is greater than the length of <string> then <string2> is inserted at the end of the string.

OK

Unchanged.

Example

%S = @strins(%A,4,%B)
info Result of inserting %B into %A is: %S

See also