instance method String#startsWith
String#startsWith(substring) → Boolean
Checks if the string starts with substring
.
Example
'Prototype JavaScript'.startsWith('Pro');
//-> true
String#startsWith(substring) → Boolean
Checks if the string starts with substring
.
'Prototype JavaScript'.startsWith('Pro');
//-> true