startsWith
startsWith(substring) -> Boolean
Checks if the string starts with substring.
Example
'Prototype JavaScript'.startsWith('Pro');
//-> true
© 2006-2008 Prototype Core Team
© 2009 перевод Иванов Егор
© 2009 перевод Иванов Егор