wiki/content/20201113115231-str_contains.md

320 B

date id title
20201113 01a0e800-3398-490b-bbb1-3abc80fb198c str~contains~()

Description

strcontains()1 tells us if string contains other string.

Syntax

if (str_contains('Lululu I've got some apples, 'apples')) { /* … */ }

Footnotes