evidenttutorials.com
Home CodeIgniter Django Go HTML JavaScript jQuery PHP Python Server SQL
Page 1 of 3. Next Last
August 31, 2025

Capitalize first character of each word in a string in JavaScript

You can convert first character in upper case of each word in a string with using custom written function in JavaScript. Function required a string type parameter and also return a string with first character in upper case of each word.

Read more... 
August 30, 2025

Capitalize first character of a string in JavaScript

JavaScript doesn’t have a built-in function to convert first character in small case. But you can convert first character in upper case of a string into upper case with using code mentioned in example.

Read more... 
August 30, 2025

JavaScript, get sub string

If you want to get sub string from a string so you can easily do this through JavaScript's built in function slice. This function required two parameters second parameter indicate index value from where you want to retrieve the sub string and third parameter indicate how many character you want to retrieve

Read more... 
December 15, 2024

Add and remove css class using JavaScript

We can use JavaScript to add or remove CSS classes from elements. There are several methods available for this purpose. The first method is the classList.add / classList.remove functions, which allows us to add/remove a CSS class to a selected element.

Read more... 
December 01, 2024

Check if a checkbox is checked or not using JavaScript

For checking if a checkbox is checked using JavaScript, we can access the checked property of the checkbox element. Below is a simple example:

Read more... 
August 17, 2024

JavaScript Comment

If you want to write some notes in your JavaScript code file which you do not want to execute but want to include in your JavaScript code file for better understanding your code. So for it you can create comments in JavaScript.

Read more... 
August 17, 2024

JavaScript String To Upper Case

You can convert a string into upper case (all letters in capital letters) with the help of toUpperCase function. The example of toUpperCase method mentioned below:

Read more... 
August 17, 2024

JavaScript String To Lower Case

You can convert a string into lower case (all letters in small letters) with the help of toLowerCase function. The example of toLowerCase method mentioned below:

Read more... 
August 17, 2024

JavaScript indexOf

Sometimes you want to know the position of a character or sub string from a string so for it you can use indexOf method of string object. indexOf object returns a numeric value (index value) of the character or a sub string from a string which you want to know about.

Read more... 
August 17, 2024

JavaScript String Compare

Comparison of two strings in JavaScript is very easy task. Like integer values you can also compare string objects with the help of equal to operator (==) inside of if conditional statement.

Read more... 
Page 1 of 3. Next Last

Latest Posts

You can find latest posts below:

Capitalize first character of each word in a string in JavaScript Capitalize first character of each word in a string in Go Capitalize first character of each word in a string in Python Capitalize first character of a string in JavaScript Capitalize first character of a string in Go
About Us Privacy Policy Disclaimer