LOG IN SIGN UP
Documentation

std.strstr()

Finds the first occurrence of a byte string and returns its value.

Format

STRING
std.strstr(STRING haystack, STRING needle)

Examples

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