startsWith
Description
Returns "true" if str1 starts with str2.
Parameters
Return Type
Boolean (true/false)
Example
if(startsWith("Fram, the polar bear", "Fram")) {
/* code block will execute */
}
Returns "true" if str1 starts with str2.
Boolean (true/false)
if(startsWith("Fram, the polar bear", "Fram")) {
/* code block will execute */
}