Skip to main content
Module

x/ddu_vim/deps.ts>fn.strstr

Dark deno-powered UI framework for neovim/Vim8
Go to Latest
function fn.strstr
import { fn } from "https://deno.land/x/ddu_vim@v1.13.0/deps.ts";
const { strstr } = fn;

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>