Swift program to check if two strings are equal or not

This post will show you how to check if two strings are equal or not in swift. We will learn ==, elementsEqual method and case insensitive comparison of two strings in swift.

Read

Swift String interpolation in 5 minutes

Swift string interpolation tutorial with example. Interpolation is the process to insert variables, constants, expressions, and literals into a string.

Read

C++ program to implement binary search

Learn how to do binary search in C++. Binary search uses divide and search approach to search for an element in a sorted array.

Read

C++ program to print a triangle with 1 and 0

C++ program to print a triangle using 1 and 0. The program will take the height of the triangle as user input and print out the triangle.

Read

Use switch case to find the number of days in a month in C

C program to find number of days in a month using switch case. The program will take the month as input from the user and print the days of month using a switch case.

Read

Swift program to find the first index of a character in a string

This program will show you how to find the first index of a specific character in a string in swift. We will learn different ways to find the first index of a character in swift string.

Read

How to create different types of alerts and actionsheets in iOS swift

Learn how to create different types of alerts in iOS using swift like alerts and actionsheets with different customizable options.

Read

How to trim whitespaces and other characters from a string in swift

Learn how to trim whitespaces or any other characters from a string in swift. We will learn how to trim decimal digits and whitespace from a swift string.

Read

Swift program to convert an array of string to a string

Learn how to convert an array of strings to a string in swift. We will use different approaches for this conversion.

Read

How to shuffle a dart list

learn how to shuffle a dart list. shuffle() method is used for list shuffling in dart. We can also pass one random value to this method.

Read