Open In App

Substring meaning in DSA

A substring is defined as a contiguous part of a string, i.e., a string inside another string.

Substrings of String “geeks”

Characteristics of Substring:

How to generate a Substring?

The steps to generate a substring are as follows:

Applications of Substring

Substrings are used as a tool to manipulate small portions of a larger string, here are some of the common applications: 

Advantages of Substring:

Disadvantages of Substring:

What else can you read?

Article Tags :