ll.StringTrim (Text: string, TrimType: number) -> stringOutputs a string, eliminating white-space from the start and/or end of the input string Text. Valid options for TrimType: STRING_TRIM_HEAD: trim all leading spaces in Text STRING_TRIM_TAIL: trim all trailing spaces in Text STRING_TRIM: trim all leading and trailing spaces in Text.
ll.StringTrim('test', 3.14)
{
"def": "func",
"desc": "Outputs a string, eliminating white-space from the start and/or end of the input string Text.\nValid options for TrimType:\nSTRING_TRIM_HEAD: trim all leading spaces in Text\nSTRING_TRIM_TAIL: trim all trailing spaces in Text\nSTRING_TRIM: trim all leading and trailing spaces in Text.",
"energy": 10,
"sleep": 0,
"must_use": true,
"link": "https://wiki.secondlife.com/wiki/LlStringTrim",
"private": false,
"takesSelf": false,
"name": "StringTrim",
"signatures": [
{
"def": "signature",
"result": [
{
"name": "",
"def": "result",
"desc": "",
"variadic": false,
"type": [
{
"def": "simple",
"value": "string"
}
],
"optional": false
}
],
"args": [
{
"def": "arg",
"name": "Text",
"desc": "String to trim",
"type": [
{
"def": "simple",
"value": "string"
}
],
"variadic": false,
"optional": false
},
{
"def": "arg",
"name": "TrimType",
"desc": "STRING_TRIM_HEAD, STRING_TRIM_TAIL, or STRING_TRIM.",
"type": [
{
"def": "simple",
"value": "number"
}
],
"variadic": false,
"optional": false
}
]
}
]
}