VDS Renaissance 的界面提供多种语言。官方文档以英语维护,以确保提供统一、一致且始终最新的参考。

@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