MstartsWith
Bun

method

ffi.CString.startsWith

searchString: string,
position?: number
): boolean;

Returns true if the sequence of elements of searchString converted to a String is the same as the corresponding elements of this object (converted to a String) starting at position. Otherwise returns false.