We've been making changes to how we organize and display our docs. Our work isn't done but we'd love your feedback.

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, "?");