JavaScript String Functions
JavaScript String Functions
Daisy Rees
3 years ago Recommended
10 months ago
Functions
The Repository for
1. `toUpperCase()` --> returns the new string in uppercase High Quality
TypeScript Type
format of source string
Definitions
10 months ago
var str = "Jagathish";
var str2 = str.toUpperCase(); Build & Deploy A
YouTube Thumbnail
console.log(str);//Jagathish
Fetcher App with
console.log(str2);//JAGATHISH
React & TypeScript
Part 1 | Vite | Tailwind
CSS
2.`toLowerCase()` --> returns the new string in lowercase
9 months ago
format of source string
Responsive Login and
Registration Form in
var str = "Jagathish";
HTML CSS &
var str2 = str.toLowerCase(); JavaScript
console.log(str);//Jagathish
8 months ago
console.log(str2);//jagathish
How to Build a
Chatbot Application
3.`trim()` --> returns a new string with removed white space with Node.js
from start and end of the string. 9 months ago
var str Search
= " Jagathish ";var trimmedStr = str.tri
Login
var trimmedStr1 = str1.trim();
console.log(trimmedStr1); //"J aga"var str2 = "J
var trimmedStr2 = str2.trim();
console.log(trimmedStr2); //"J ."
#javascript
2 4.8 GEEK
Search Login
Welcome to Morioh!
Let's write, share knowledge and earn GEEK.
Sign up