API
Class Name: StringExtended
Functions
| Name | Parameters | Return Type | Description |
|---|---|---|---|
| substring | str (String), start (Integer), end (Integer) | String | Returns the substring of string within given indices |
| strlen | str (String) | Integer | Returns the length of string |
| strEquals | str1 (String), str2 (String) | Boolean | Checks if strings are equal or not |
| toCharArray | str (String) | Array | Returns an array with list of characters from string |
| count | str (String), delim (String) | Integer | Returns number of occurences of character in String |
Functions - Case Changing
| Name | Parameters | Return Type | Description |
|---|---|---|---|
| toUpperCase | str (String) | String | Converts all characters of string to Uppercase |
| toLowerCase | str (String) | String | Converts all characters of string to Lowercase |
| toTitleCase | str (String) | String | Converts first character of string to Titlecase |