L’interface de VDS Renaissance est disponible en plusieurs langues. La documentation officielle est maintenue en anglais afin de garantir une référence unique, cohérente et toujours à jour.

@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