{
  "id": "fn-string-contains",
  "dataComponent": "string",
  "heading": {
    "title": "contains",
    "badges": ["String", "PARTIAL"]
  },
  "synopsis": "Checks if a string contains a substring. Returns Bool. Partial/placeholder usage supported.",
  "codeBlocks": [
    "extend(\"string\")\n\nsput( string:contains(\"lo\", \"hello\") )\n# => true\n\npartial = string:contains(_, \"abcdef\")\nsput( partial(\"bc\") )\n# => true"
  ],
  "notes": [
    "Arguments: substring (needle), string (haystack).",
    "Returns Bool(true/false).",
    "Partial and _ supported."
  ]
}
