string-prefix-p

string-prefix-p is a compiled Lisp function in `subr.el'.

(string-prefix-p PREFIX STRING &optional IGNORE-CASE)

Return non-nil if PREFIX is a prefix of STRING.
If IGNORE-CASE is non-nil, the comparison is done without paying attention
to case differences.