Strings In-depth
Creating String
String Literals
let str = "Hello";let str = "Hello";
console.log(str);
console.log(typeof(str));
str = new String("Hello");
console.log(str);
console.log(typeof(str));
str = String("Hello");
console.log(str);
console.log(typeof(str));
Operators
Comparison
Conversion
Methods
Splitting a string into an array
Finding the Index Of a sub string in a string
Return a section of the string
Last updated