Please enable JavaScript.
Coggle requires JavaScript to display documents.
String - Coggle Diagram
String
-
-
-
-
-
Getting a substring
-
str.substring(start [, end])
-
almost the same as slice, but it allows start to be greater than end (in this case it simply swaps start and end values).
alert( str.substring(6, 2) ); // "ring"
-
-
str.substr(start [, length])
Returns the part of the string from start, with the given length.
-
-
Regular Expression
-
-
method
-
exec()
-
returns a result array, or null instead of returning true/false.
-
-
-