JavaScript String replace() Method The JavaScript string replace() method is used to replace a part of a given string with a new…
javascript string methods
-
-
JavaScript String toLocaleLowerCase() Method In an earlier section, we had learnt that a string can be easily converted to lowercase letter using…
-
JavaScript String toLocaleUpperCase() Method JavaScript string toLocaleUpperCase() method converts the string to uppercase letter on the basis of host’s current locale. In…
-
JavaScript String toLowerCase() Method The JavaScript string toLowerCase() method is used to convert the string into lowercase letter. This method doesn’t make…
-
JavaScript String toUpperCase() Method The JavaScript string toUpperCase() method is used to convert the string into uppercase letter. This method doesn’t make…
-
JavaScript String indexOf() method The JavaScript string indexOf() method is used to search the position of a particular character or string in…
-
JavaScript String lastIndexOf() method The JavaScript string lastIndexOf() method is used to search the position of a particular character or string in…