File tree 1 file changed +13
-0
lines changed
content/en/docs/essentials
1 file changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -406,6 +406,19 @@ typeof("hello")
406
406
math.atan2(1.1 , 1.1 )
407
407
```
408
408
409
+ ### String functions
410
+
411
+ | Function -> Returns | Description |
412
+ | ------------------------------------------ | ------------------------------------------------------ |
413
+ | ` strings.LOWER(val: string) -> string ` | Format ` val ` to lower-case |
414
+ | ` strings.UPPER(val: string) -> string ` | Format ` val ` to upper-case |
415
+ | ` strings.TRIM(val: string) -> string ` | Removes all spaces from each side of ` val ` |
416
+ | ` strings.TRIM(val: string, trim: string) ` | Removes ` trim ` characters from each side of ` val ` |
417
+ | ` strings.LTRIM(val: string) -> string ` | Removes all spaces from the left side of ` val ` |
418
+ | ` strings.LTRIM(val: sting, trim: string) ` | Removes ` trim ` characters from the left side of ` val ` |
419
+ | ` strings.RTRIM(val: string) -> string ` | Removes all spaces from the right side of ` val ` |
420
+ | ` strings.RTRIM(val: string, trim: string) ` | Removes ` trim ` characters from the right side of ` val ` |
421
+
409
422
## Operators
410
423
411
424
``` js {.rr}
You can’t perform that action at this time.
0 commit comments