Welcome all, we will see string methods in javascript in Hindi. String objects methods in javascript in Hindi. String Methods and Properties in Hindi.
JavaScript, methods, and properties are also available to primitive values, because JavaScript treats primitive values as objects when executing methods and properties.
0: The length property returns the length of a string
1:The charAt() method returns the character at a specified index (position) in a string
2: Finding a String in a String
The indexOf() method returns the index of (the position of) the first occurrence of a specified text in a string
3: The lastIndexOf() method returns the index of the last occurrence of a specified text in a string
Both the indexOf(), and the lastIndexOf() methods return -1 if the text is not found
4: The replace() method replaces a specified value with another value in a string
5:A string is converted to upper case with toUpperCase()
6:A string is converted to lower case with toLowerCase()
7: concat() joins two or more strings
Guys, Please support my channel by SUBSCRIBE to my channel and share my videos in your Social Network TimeLines.
Don’t Forget to Follow me on all Social Network,
Instagram Link:
Facebook Link:
Twitter Link:
Facebook ThapaTechnical Page Link:
Nguồn: https://vinhtrinh.com.vn
Xem thêm bài viết khác: https://vinhtrinh.com.vn/cong-nghe/
Xem thêm Bài Viết:
- Dash là gì? Tìm hiểu chi tiết về đồng tiền ảo Dashcoin
- Top 3 ứng dụng xem phim online chất lượng cao trên di động
- Giải pháp thiết kế website in ấn chuyên nghiệp, giá rẻ và chuẩn SEO
- Khách hàng mục tiêu là gì và cách để xác định khách hàng mục tiêu hiệu quả
- Growth hacking là gì? Làm sao để trở thành growth hacker
thanks
how to proper string using javascript
Ex – ( "raVi kumaR" – "Ravi kumar" )
how to remove extra spaces in string using javascript
You are awesome
Nice bro!
Osm sir
sir……thx for making all these precious videos……..even i want to how could we make a website using javascript..???????????
Sir I love all your videos ,but sir as u told before that without JavaScript any webpage is like a poster ,so my question is here how we can create many pages in a website ,nd how a user would feel that our website is taking to him,that'swhy we need the point not any….
Sir concatination ki aur ek method hai kay?..
Double quatiotion mein space deke…
Plz reply hongi toh plz..
Explain it
Hi bro in replace method for suppose we have two and's its changing only the first one how to change both
very good
I loves your channel, Please put video for Angular JS
You are awesome bro 🙂
excellent.