Skip to content

contains

Category: String

Returns true if the input string contains the specified substring

  • Return type: boolean
  • Parameters:
    • substring string — Substring to search for
Patient.name.family.contains('Doe')
'Hello World'.contains('World')