startsWith
startsWith()
Section titled “startsWith()”Category: String
Returns true if the input string starts with the specified prefix
Signature
Section titled “Signature”- Return type:
boolean - Parameters:
prefixstring— Prefix to check for
Examples
Section titled “Examples”Patient.name.family.startsWith('Mc')'Hello World'.startsWith('Hello')