LlInsertString
| 首页 | 函数 | 事件 | 类型 | 操作符 | 常数 | Flow Control | Script Library | Categorized Library | Tutorials |
| 函数名 |
|---|
| 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 |
| 相关事件 |
|---|
| 无 |