“LlInsertString”的版本间的差异

来自人工智能助力教育知识百科
跳转至: 导航搜索
Ty讨论 | 贡献
(创建页面,内容为“{{LSL Header|ml=*}}{{LSLC|Keywords}}{{LSLC|Flow Control}}{{LSLC|}} {{函数详情 |函数名 = Function: string llInsertString( string dst, integer pos, string src…”)
 
(没有差异)

2020年8月20日 (四) 11:49的最新版本

Template:Needs Translation/


函数名
Function: string llInsertString( string dst, integer pos, string src );
参数:

string dst – destination of insertion integer pos – position index for insert, first is 0 string src – source string to be inserted

返回值:返回从 pos 开始插入 src 的字符串 dst
注意事项
如果 pos 超出界限,则脚本继续执行,不会出现错误消息。
示例
示例一
llInsertString("input", 2, "put out")// returns "input output"
相关函数
llDeleteSubString

llGetSubString

相关事件