ll.InsertString

ll.InsertString(TargetVariable: string, Position: number, SourceVariable: string) : string

Inserts SourceVariable into TargetVariable at Position, and returns the result. Inserts SourceVariable into TargetVariable at Position and returns the result. Note this does not alter TargetVariable.

Example

ll.InsertString('test', 5, 'test')
{
  "def": "func",
  "desc": "Inserts SourceVariable into TargetVariable at Position, and returns the result.\nInserts SourceVariable into TargetVariable at Position and returns the result. Note this does not alter TargetVariable.",
  "energy": 10,
  "sleep": 0,
  "pure": true,
  "link": "https://wiki.secondlife.com/wiki/LlInsertString",
  "name": "InsertString",
  "signatures": [
    {
      "result": [
        {
          "name": "",
          "def": "result",
          "desc": "",
          "variadic": false,
          "type": [
            "string"
          ],
          "optional": false
        }
      ],
      "args": [
        {
          "def": "arg",
          "name": "TargetVariable",
          "desc": "",
          "type": [
            "string"
          ],
          "variadic": false,
          "optional": false
        },
        {
          "def": "arg",
          "name": "Position",
          "desc": "",
          "type": [
            "integer",
            "number"
          ],
          "variadic": false,
          "optional": false
        },
        {
          "def": "arg",
          "name": "SourceVariable",
          "desc": "",
          "type": [
            "string"
          ],
          "variadic": false,
          "optional": false
        }
      ]
    }
  ]
}

< Back to ll