7 JavaScript One-Liners that you should know
Today we will share the 7 useful JavaScript One-Liners that you should know. Checkout more articles on JavaScript Encode and decode strings with base64 Remove all whitespace from a string...
Today we will share the 7 useful JavaScript One-Liners that you should know. Checkout more articles on JavaScript Encode and decode strings with base64 Remove all whitespace from a string...
Today we will show you how to encode and decode strings with base64 in JavaScript. In this article, we will use the btoa() and atob() JavaScript methods to encode or...
In this short article, we will show you how to trim string from the dynamic object in JavaScript. Sometimes we may need to remove the whitespace from the both ends...
Today, we’ll explain to you how to remove all whitespace from a string in JavaScript. Replacing whitespace or blank space from a string is a common task. We can easily...
Today, we’ll explain to you how to combine two strings in JavaScript. We can assign a string to a variable and combine the variable with another string. Here, we will...
Today we’ll explain to you how to extract email addresses from a string in PHP. At some point, we need to extract an email address from a long text string...
In this short article, we’ll discuss how to find URLs in a string and make clickable links in PHP. Sometimes you have data without any hyperlinks tags and when displayed...
Today we’ll show you how to convert text field value to uppercase while typing using jQuery, JavaScript, and CSS. We may need to get the user’s data in uppercase such...
Today we’ll explain to you how to check if a string contains a substring in JavaScript. It is very simple to do this task in JavaScript. You can also check...
Today we’ll explain to you how to check if a string contains a substring in PHP. Using PHP in-built strpos() function, we can easily check whether a string contains substring...
Today we’ll show you how to truncate string and add ellipsis in JavaScript. In this short article, we will show you how to cut off a text and add the...
Today, we’ll explain to you how to convert all array values to LowerCase or UpperCase in JavaScript. We have several ways to achieve this task but in this short article,...
Today we will show you how to find URLs in string and make a link using JavaScript. Recently I was developing a messaging application where we need to detect the...
In this short article, we will explain to you how to remove HTML tags from a string in PHP. Sometimes we need to get only the content part without HTML...