ll.GetSubString(String: string, Start: number, End: number) : string
Returns a sub-string from String, in a range specified by the Start and End indicies (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 capture the entire string. If Start is greater than End, the sub string is the exclusion of the entries.
ll.GetSubString('test', 5, 12)
{
"def": "func",
"desc": "Returns a sub-string from String, in a range specified by the Start and End indicies (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 capture the entire string.\nIf Start is greater than End, the sub string is the exclusion of the entries.",
"energy": 10,
"sleep": 0,
"pure": true,
"link": "https://wiki.secondlife.com/wiki/LlGetSubString",
"name": "GetSubString",
"signatures": [
{
"result": [
{
"name": "",
"def": "result",
"desc": "",
"variadic": false,
"type": [
"string"
],
"optional": false
}
],
"args": [
{
"def": "arg",
"name": "String",
"desc": "",
"type": [
"string"
],
"variadic": false,
"optional": false
},
{
"def": "arg",
"name": "Start",
"desc": "",
"type": [
"integer",
"number"
],
"variadic": false,
"optional": false
},
{
"def": "arg",
"name": "End",
"desc": "",
"type": [
"integer",
"number"
],
"variadic": false,
"optional": false
}
]
}
]
}