Latest

 thumbnail

Get Current URL with Parameters in Laravel 6, 7 & 8

June 09, 2021

To get the current URL with parameters in Laravel 6, 7 & 8 use the fullUrl() method from the Request() class. H...

 thumbnail

How to Convert Bytes to String in Python

June 08, 2021

To convert the data type bytes to a string in Python, use the .decode() function and set the encoding in the first argum...

 thumbnail

How to Check for an Empty String in JavaScript

June 08, 2021

There are two main ways of checking for an empty string in JavaScript, which we will learn about in this tutorial. ...

 thumbnail

How to Square a Number in JavaScript

June 04, 2021

To square a number in JavaScript use the Math.pow() function – this function takes two arguments, the first is the numbe...

 thumbnail

How to Check if a String Contains a Number in Python

June 04, 2021

In this tutorial, we will learn how to check if a string contains a number in Python. Check Each Character with str...