Skip to content

Commit f9c1e3f

Browse files
chore: autopublish 2023-03-10T03:28:53Z
1 parent ca52eb3 commit f9c1e3f

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

docs/library/utils.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ A library of general Lua utility functions.
1313
- [calc_alphabet(num)](#calc_alphabet)
1414
- [clamp(num, minimum, maximum)](#clamp)
1515
- [ltrim(str)](#ltrim)
16-
- [ltrim(str)](#ltrim)
17-
- [ltrim(str)](#ltrim)
16+
- [rtrim(str)](#rtrim)
17+
- [trim(str)](#trim)
1818
- [call_and_rethrow(levels, tryfunczzz)](#call_and_rethrow)
1919
- [rethrow_placeholder()](#rethrow_placeholder)
2020

@@ -182,13 +182,13 @@ Removes whitespace from the start of a string.
182182
| ----------- | ----------- |
183183
| `string` | |
184184

185-
### ltrim
185+
### rtrim
186186

187187
```lua
188-
utility_functions.ltrim(str)
188+
utility_functions.rtrim(str)
189189
```
190190

191-
[View source](https://github.com/finale-lua/lua-scripts/tree/master/src/library/utils.lua#L180)
191+
[View source](https://github.com/finale-lua/lua-scripts/tree/master/src/library/utils.lua#L175)
192192

193193
Removes whitespace from the end of a string.
194194

@@ -200,13 +200,13 @@ Removes whitespace from the end of a string.
200200
| ----------- | ----------- |
201201
| `string` | |
202202

203-
### ltrim
203+
### trim
204204

205205
```lua
206-
utility_functions.ltrim(str)
206+
utility_functions.trim(str)
207207
```
208208

209-
[View source](https://github.com/finale-lua/lua-scripts/tree/master/src/library/utils.lua#L188)
209+
[View source](https://github.com/finale-lua/lua-scripts/tree/master/src/library/utils.lua#L187)
210210

211211
Removes whitespace from the start and end of a string.
212212

0 commit comments

Comments
 (0)