JavaScript is quite flexible and offers many different ways to convert between data types. In this short tutorial, we’ll look at how you can convert a number to a string in JavaScript. You might want to do this in order ...

In JavaScript, there are many ways to convert between data types. We’ve already covered how to convert a number to a string. In this short tutorial, we’ll look at how you can convert a string to a number in JavaScript. ...

In this tutorial, you’ll learn how to convert numbers to ordinals in JavaScript. Getting the ordinal of a number allows you to display it in a human-readable format. What Are Ordinals? Ordinals define numbers as being part of an order ...

In this tutorial, you’ll learn the different ways you can split a string into substrings, and when each method is useful. Strings can be easily manipulated in JavaScript for different purposes — using native methods available in the language. We’ve ...

In this tutorial, you’ll learn how to transform the character case of a string — to uppercase, lowercase, and title case — using native JavaScript methods. JavaScript provides many functions and methods that allow you to manipulate data for different ...