Skip to main content
Module

x/denops_std/function/mod.ts>strstr

📚 Standard module for denops.vim
Go to Latest
function strstr
import { strstr } from "https://deno.land/x/denops_std@v3.6.0/function/mod.ts";

stridx() works similar to the C function strstr(). When used with a single character it works similar to strchr(). Can also be used as a |method|: GetHaystack()->stridx(needle)

Returns

Promise<unknown>