-
JavaScript tutorial 104 – JavaScript String Methods | String Functions
String object properties and methods: var name = “I am javascript language”; document.write(name); Note: when we use member access operator (dot) on a primitive string variable it is implicitly converted to a string object. Properties: length: – returns the total number of characters present in a given string Ex: document.write(name.length); // 24 Methods: charAt(index:Number):String –…