Posts by Faruque Ahamed Mollick
Author Biographical Info: Not available
This tutorial is going to show you a simple Python program to calculate the Gravitational Force between two objects. To find out the gravitational force between two objects, for ex.... Read More
In this tutorial, you will learn how to generate a SHA256 hash value for a specific string in Node.js. Secure Hash Algorithm 256 or SHA-256 belongs to SHA2. It is a cryptographic h.... Read More
In this tutorial, you will learn how to get the last N characters from a string in Swift with the help of code examples. To find out the last N characters from our Swift string, we.... Read More
You can return multiple values from a function in Swift programming. But not in a generous way. It is a bit tricky to perform this task. In order to return multiple values from a S.... Read More
After this Swift tutorial, you will be able to learn how to get common elements from two different arrays. Finding common items between two arrays is quite an easy task. Let’s see the code below: let homeDevices = ["Macbook", "Doorbell", "Smartphone", "TV", "Refrigerator"] let officeDevices = ["Air Conditioner", "Macbook", "Mouse", "Refrigerator", "CPU"] // Create new [&h Read More
In this Swift programming tutorial, you will learn how to convert a string to an integer. In the field of app development, you often need to convert a string into an integer so tha.... Read More
In this Swift programming tutorial, you are going to learn how to get a random element from an Array. So let’s continue… Well, it is quite easy to get a random item fro.... Read More
In this tutorial, you will see how we can replace characters or part of a string in Swift program with examples. You will learn 3 methods of replacing string characters using Swift.... Read More