doc updates

This commit is contained in:
vaclavt
2022-02-01 23:47:05 +01:00
parent d1bbe16459
commit 5d97c1df86
4 changed files with 15 additions and 11 deletions

View File

@@ -120,7 +120,7 @@
|`(string-pad str len char rpad_lpad)`|Pad string from start or to end with char to length||String manipulation|
|`(string-lpad str len char)`|Pad string from start with char to length len|`>>> (string-lpad "0" 10 "x") => "xxxxxxxxx0"`|String manipulation|
|`(string-rpad str len char)`|Pad string from righ with char to length len|`>>> (string-rpad "0" 10 "x") => "0xxxxxxxxx"`|String manipulation|
|`(string-split str separator)`|Splits string into list by regexp|`>>> (string-split "split me by space" "\s+") => ("split" "me" "by" "space")`|
|`(string-split str separator)`|Splits string into list by regexp|`>>> (string-split "split me by space" "\s+") => ("split" "me" "by" "space")`|String manipulation|
|`(string-rltrim str len RKRRKR)`|Removes " \n\r\t" from the begininfg or end or both ends of str||Regex|
|`(string-ltrim str)`|Removes " \n\r\t" from the begininfg of str||String manipulation|
|`(string-rtrim str)`|Removes " \n\r\t" from the end of str||String manipulation|