docs: documented 'string_find_last'

This commit is contained in:
antifallobst 2023-02-26 15:08:08 +01:00
parent b607c9280b
commit a0015018db
1 changed files with 3 additions and 0 deletions

View File

@ -956,6 +956,9 @@ Returns **false** if they aren't equal.
#### `string_find_next(string, chr)` - function (uint32_t) #### `string_find_next(string, chr)` - function (uint32_t)
Returns the index of the next character that matches **_chr_** in **_string_**. Returns the index of the next character that matches **_chr_** in **_string_**.
#### `string_find_last(string, chr)` - function (uint32_t)
Returns the index of the last character that matches **_chr_** in **_string_**.
#### `variadic_format_size(string, args)` - function (uint64_t) #### `variadic_format_size(string, args)` - function (uint64_t)
Returns how long a format string with the given pattern (**_string_**) and **_args_** would be. Returns how long a format string with the given pattern (**_string_**) and **_args_** would be.
Useful to create a big enough buffer before formatting a string. Useful to create a big enough buffer before formatting a string.