SHIP:Sail:Functions

From Serious Documentation
Revision as of 12:14, 5 December 2012 by Admin (talk | contribs) (String Functions)
Jump to: navigation, search

SHIP Sail Home

String Functions

  • charAt - returns the character at an index in a string
  • indexOf - returns the index of the first occurrence of a string in another string
  • lastIndexOf - returns the index of the last occurrence of a string in another string
  • length - returns the length of a string
  • subStr - returns the N-character substring of a string starting at an index
  • subString - returns the substring of a string starting at an index and ending at an index
  • toLowerCase - converts a string to lower case
  • toUpperCase - converts a string to upper case
  • toString - converts a number to a string

Node Functions