js check the length of a string

using the javascript .length property

Javascript

var my_string = "hi i am a string";
var my_string_length = my_string .length;
console.log(my_string_length);

External Link for js check the length of a string

Other Items in javascript
Page Views

This page has been viewed 308 times.

Search Code
Search Code by entering your search text above.
Welcome

This is my test area for webdev. I keep a collection of code snippits here, mostly for my reference. Also if i find a good site, i usually add it here.

❤👩‍💻🕹

Random Quote
1. Show your work to the world instead of keeping in your head💆. 2. Do the work consistently👌 3. Respect your work🥰 4. Don't postpone your work 5. Make mistakes 🔥🔥🔥
Unknown