Welcome To Tutorialspoint.dev
Officially launched 18th May 2019
Greedy Python Strings

Rearrange a string so that all same characters become d distance away

Given a string and a positive integer d. Some characters may be repeated in the given string. Rearrange characters of the given string such that the same characters b...
Backtracking Combinatorial Greedy

Write a program to print all permutations of a given string

A permutation, also called an “arrangement number” or “order,” is a rearrangement of the elements of an ordered list S into a one-to-one c...
C C++ cpp-string

std::string class in C++

C++ has in its definition a way to represent sequence of characters as an object of class. This class is called std:: string. String class stores the characters as a ...
C# CSharp-Arrays CSharp-string

C# Arrays of Strings

An array is a collection of the same type variable. Whereas a string is a sequence of Unicode characters or array of characters. Therefore arrays of strings is an arr...
C# CSharp-string

C# Verbatim String Literal – @

In C#, a verbatim string is created using a special symbol @. @ is known as a verbatim identifier. If a string contains @ as a prefix followed by double quotes, then ...
C# CSharp-StringBuilder-Class

How to find the length of the StringBuilder in C#

StringBuilder.Length Property is used to get or set the length of the current StringBuilder object. Syntax: public int Length { get; set; } It returns the length of ...
C# CSharp-string

C# String Properties

The string is an array of characters. String class represents the text as a series of Unicode characters and it is defined in the .NET base class library. The main us...
C# CSharp-string

C# String

In C#, string is a sequence of Unicode characters or array of characters. The range of Unicode characters will be U+0000 to U+FFFF. The array of characters is also te...
C# CSharp-string

C# String vs StringBuilder

Prerequisite: String in C# StringBuilder is used to represent a mutable string of characters. Mutable means the string which can be changed. So String objects are imm...
C# CSharp-method CSharp-StringBuilder-Class

C# Check if two StringBuilder objects are Equal

StringBuilder.Equals Method is used to check whether this instance is equal to a specified object. Syntax: public bool Equals (System.Text.StringBuilder sb); Here, s...

Subscribe to Our Newsletter