std.strstr()

Returns the part of haystack string starting from and including the first occurrence of needle until the end of haystack.

Format

STRING
std.strstr(STRING haystack, STRING needle)

Examples

1
set req.http.X-qs = std.strstr(req.url, "?");