mirror of
https://github.com/troglobit/libite.git
synced 2026-10-28 12:20:45 +00:00
Add strtrim(), trims leading and trailing white-space from a string
Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
1 parent
d4b554ccdc
commit
f5808e557e
4 files changed
+78
-1
No files matched your search
@@ -319,6 +319,11 @@ Generic Functions
|
||||
match, or `-1` on error or not found. `strnmatch()` takes an extra arg
|
||||
to compare only `len` number of characters from `str`.
|
||||
|
||||
- `strtrim(str)`
|
||||
|
||||
Trims a string from any leading and trailing white-space, returns the
|
||||
trimmed result in the same buffer.
|
||||
|
||||
- `systemf(fmt, ...)`
|
||||
|
||||
Like `system()`, but takes a formatted string as argument. This
|
||||
|
||||
Reference in new issue
Block a user