Posts by Khushi Aswani

Author Biographical Info: Python programmer who is also interested in content writing.

Convert int to string and vice-versa in Swift

By Khushi Aswani

In this tutorial, we will learn how to convert any integer to a string and string to an integer using various approaches in Swift. Convert Int to string in Swit To work on this we .... Read More

Get the nth character of a string in Swift

By Khushi Aswani

In this tutorial, we will work on the task of getting the nth character from a given string as the title says it all, to retrieve a particular character present at a specific posit.... Read More

Delete all array elements in Swift

By Khushi Aswani

In this tutorial, we will delete all the elements of a given array in Swift. For this, we will use removeAll() function in Swift. removeAll() This function deletes all the elements.... Read More

Check if a graph is bipartite or not in C++

By Khushi Aswani

In this tutorial, we will dive into the understanding of a graph and check whether a graph is bipartite or not in C++. For this, we first need to clearly understand a bipartite gra.... Read More

Split an array into chunks in Swift

By Khushi Aswani

In this tutorial, we will learn how to divide an array into smaller chunks of fixed size. We can do this easily by creating a function. But first, let’s dive into the example.... Read More

Create Multiline string in Swift

By Khushi Aswani

This tutorial will show us how to create a multiline string in Swift. A multi-line string is a string with more than one line. As we all know to declare a string, we need to enclos.... Read More

Ways to compare two strings in Swift

By Khushi Aswani

In this tutorial, we will see how to compare two strings to determine if they are equal or not in Swift. There are so many practical applications of this task like comparing passwo.... Read More

Call a function from another class in Swift

By Khushi Aswani

In this tutorial, we will create two classes and try to call a function from Class 1 in Class 2. This helps in various tasks of classes and their objects. We will create a class na.... Read More

Related Posts