diff --git a/docs/c-api/util.h/mg_skip.md b/docs/c-api/util.h/mg_skip.md index 858dc1d7..cc7b2fd1 100644 --- a/docs/c-api/util.h/mg_skip.md +++ b/docs/c-api/util.h/mg_skip.md @@ -7,11 +7,11 @@ signature: | const char *delimiters, struct mg_str *v); --- -Fetch substring from input string `s`, `end` into `v`. +Fetches substring from input string `s`, `end` into `v`. Skips initial delimiter characters. Records first non-delimiter character -as the beginning of substring `v`. Then scans the rest of the string +at the beginning of substring `v`. Then scans the rest of the string until a delimiter character or end-of-string is found. `delimiters` is a 0-terminated string containing delimiter characters. Either one of `delimiters` or `end_string` terminates the search. -Return an `s` pointer, advanced forward where parsing stopped. +Returns an `s` pointer, advanced forward where parsing has stopped.