Program to Insert a String into Another String
Description If a string is inserted into a text. Then newer string is the collection all characters present in both the string. Example : Input : text : whatthat string…
All Program Related To String And Data Structure
Description If a string is inserted into a text. Then newer string is the collection all characters present in both the string. Example : Input : text : whatthat string…
Description A substring is a part of a string. C/C++ /* C program to find substring of specified length */ //Save it as ExtractSubstring.c #include<stdio.h> int main(){ char str[100], substr[100];…
Description Reverse of a string means to swap the first character with last character, second character with second last character and so on. C/C++ /* C program to reverse a…
Description * To compare two strings, each and every character is compared from both the strings. * If str1 and str2 are strings, then comparing two strings will give, 1)…
Description Append one string to another means copy the content of one string to the end of another string. C/C++ /* C program to append one string to another string…
Description Two way To convert uppercase to lowercase or vice versa 1) Travese the string character by character add 32 to convert uppercase to lowercase and substract 32 to convert…
Description * The number of character in a string is length of string. * Blank spaces also counted as character in string. C/C++ /* C program to find length of…
Description To find largest and smallest character in a string, extract character from string and compare this with maximum and minimum character. Here z is considered as minimum and A…