Runes in dart explanation with example

Every character, digit, and symbol is defined by a unique numeric value in the computer system. It is called Unicode. It is unique and adopted by almost all modern systems. Using Unicode, data transfer became easy. For example, if you are sending one smiley on a chat app, it will send the Unicode value of that smiley. The other device will read this value and show it as a smiley.

Read

How to print unicode of character in dart

Dart string is a sequence of characters. Each character is represented as UTF-16 in dart. We can print the UTF-16 code unit or the Unicode of each character. Dart string has all these properties defined in it. In this tutorial, I will show you these properties and method with different examples :.

Read

Swift program to check if a number is odd or even

Swift program to check if a number is odd or even and print out the result. We will learn how to find it using the modulo operator, using isMultiple method, and for a double using the remainder method with examples.

Read

How to find all vowels in a string in Kotlin

This tutorial will show you how you to find all vowels in a string. We can iterate through the characters of a string one by one and verify if it is a vowel or not one by one. Iterating through the characters of a string can be done in multiple ways. I will show you three different ways to solve this problem.

Read

NodeJS OS module methods and properties

os module provides a couple of different utility methods and properties related to the operating system. It is an useful module if you want to make sure that your program will work on all different operating systems.

Read

Python math.hypot method explanation with example

Defined in the math library, hypot() method is used to find the value of euclidean norm. For two numbers x and y, the euclidean norm is the length of the vector from origin (0,0) to the coordinate (x,y). For a point (x,y), it is equal to sqrt(x*x + y*y).

Read

Python program to convert meter to yard

This tutorial will show you how to convert a distance of meter to yard. If you are getting the value in one unit, you need to convert it to a different unit if your program is working on a separate unit. This is a commonly faced problem. If you are using any third-party APIs and if that API returns data in meter, you need to convert it to yard if you are showing the information in yard to the user.

Read

JavaScript join, toString example to convert array to string

JavaScript provides two methods join() and toString() to convert array elements to a string with comma-separated values. toString() method is inherited from the Object class. It was introduced in ECMAScript 5. Both methods actually return the same string value. One more thing is that we can change the separator in the join method. Let me show you with examples :.

Read

NodeJS create directory and temp-directory

NodeJS provides a couple of different methods to work with the file system. In this blog post, I will write mainly on how to create folders using Nodejs. You will learn how to create a folder, folder inside a folder and a temporary folder in Nodejs.

Read

Dart program to check if a character is uppercase

In this dart tutorial, we will learn how to check if the first character of a string is in uppercase or not. You can use the same approach to find out if any character is uppercase or lowercase. This is one common problem and you need to use a third-party library, dart doesn't have any inbuilt methods.

Read