ll.DeleteSubString (Source: string, Start: number, End: number) -> stringRemoves the indicated sub-string and returns the result. Start and End are inclusive. Using negative numbers for Start and/or End causes the index to count backwards from the length of the string, so 0, -1 would delete the entire string. If Start is larger than End, the sub-string is the exclusion of the entries; so 6, 4 would delete the entire string except for the 5th character.
ll.DeleteSubString('test', 3.14, 3.14)
{
"def": "func",
"desc": "Removes the indicated sub-string and returns the result.\nStart and End are inclusive.\nUsing negative numbers for Start and/or End causes the index to count backwards from the length of the string, so 0, -1 would delete the entire string.\nIf Start is larger than End, the sub-string is the exclusion of the entries; so 6, 4 would delete the entire string except for the 5th character.",
"energy": 10,
"sleep": 0,
"must_use": true,
"link": "https://wiki.secondlife.com/wiki/LlDeleteSubString",
"private": false,
"takesSelf": false,
"name": "DeleteSubString",
"signatures": [
{
"def": "signature",
"result": [
{
"name": "",
"def": "result",
"desc": "",
"variadic": false,
"type": [
{
"def": "simple",
"value": "string"
}
],
"optional": false
}
],
"args": [
{
"def": "arg",
"name": "Source",
"desc": "",
"type": [
{
"def": "simple",
"value": "string"
}
],
"variadic": false,
"optional": false
},
{
"def": "arg",
"name": "Start",
"desc": "",
"type": [
{
"def": "simple",
"value": "number"
}
],
"variadic": false,
"optional": false
},
{
"def": "arg",
"name": "End",
"desc": "",
"type": [
{
"def": "simple",
"value": "number"
}
],
"variadic": false,
"optional": false
}
]
}
]
}