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.
ReadSwift string interpolation tutorial with example. Interpolation is the process to insert variables, constants, expressions, and literals into a string.
ReadLearn how to do binary search in C++. Binary search uses divide and search approach to search for an element in a sorted array.
ReadC++ 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.
ReadC 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.
ReadThis 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.
ReadLearn how to create different types of alerts in iOS using swift like alerts and actionsheets with different customizable options.
ReadLearn 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.
ReadLearn how to convert an array of strings to a string in swift. We will use different approaches for this conversion.
Readlearn 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