Monday, December 18, 2017

Today I will explain how to use javascript variable names with strings. In last session I explained how to create java script variables Previous Article
Now using variable how we can access the length of the variable; let’s check the below
Example

Now using length property we can compare the string length.let check it below

Here in the string character has position numbered index starts from “ 0”

Since the index starts from zero ,but length value will always be one more then the last index.
Finding specific character using charAt() method .

Example below

Now we will see how to concatenate two strings in javascript

Example

Thanks for reading this article.

Tags: ,
I am Saritha Reddy, a Remote codeigniter,Angularjs Developer. I have 4+ years of strong experience in designing, implementing, Programming and delivering advanced XAMPP ( Apache, MySQL and PHP) Web applications development. I am an Indian national and based Andhra Pradesh,Hyderabad. In addition to providing custom programming and design, I also have extensive experience with Open Source technologies to keep costs down and get websites running with as little fuss and wait as possible.

0 Comments

Leave a Comment