mirror of
https://github.com/cesanta/mongoose.git
synced 2024-12-12 07:29:04 +08:00
18 lines
663 B
Markdown
18 lines
663 B
Markdown
|
---
|
||
|
title: "mg_skip()"
|
||
|
decl_name: "mg_skip"
|
||
|
symbol_kind: "func"
|
||
|
signature: |
|
||
|
const char *mg_skip(const char *s, const char *end_string,
|
||
|
const char *delimiters, struct mg_str *v);
|
||
|
---
|
||
|
|
||
|
Fetch 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
|
||
|
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.
|
||
|
|