We are committed to provide service 24 X 7

Deals, Shopping, Training, Tools

Tag: Case

Capitalize First letter of each word in a String in Java | Camel Case

In this article we will discuss how to capitalize first letter of each word in a String.Suppose given string is, this is the sample string Now after converting first letter of each word, string will become, This Is The Sample String This type of String is also called Camel Case. Advertisements Algorithm For Capitalizing First Letter …

Capitalize First letter of each word in a String in Java | Camel CaseRead More

Implementing a Case Insensitive string::find in C++

In this article we will discuss how to find a Case Insensitive Sub String in a given string in C++ using, STL Boost Library std::string provides a method std::string::find to search for the sub string inside a given string, but this function is case sensitive i.e. Advertisements std::string data = “Hi this is a sample …

Implementing a Case Insensitive string::find in C++Read More

Convert First Letter of each word of a String to Upper Case in C++

In this article we will discuss different ways to convert first letter of each word to upper case in a a given string i.e. Using STL algorithm Using Boost Filtered Iterator & Range Converting First Letter to Upper Case using STL Algorithm Used: Iterate over the characters in given string For each character check – …

Convert First Letter of each word of a String to Upper Case in C++Read More

Find all occurrences of a sub string in a string | C++ | Both Case Sensitive & InSensitive

In this article we will discuss how to find all occurrences / Positions of a sub string in a given string in both case sensitive & case insensitive manner. Find All Case Sensitive Occurrences of a Sub String in a given String Logic: Use std::string::find to search the first occurrence and then go on searching using …

Find all occurrences of a sub string in a string | C++ | Both Case Sensitive & InSensitiveRead More

Python : How to Compare Strings ? | Ignore case | regex | is vs == operator

In this article we will discuss different ways to compare strings in python like, using == operator (with or without ignoring case) or using is operator or using regex. Python provides various operators to compare strings i.e. +, !=, <, >, <=, >=. When used for comparison these operators return Boolean True or False value. …

Python : How to Compare Strings ? | Ignore case | regex | is vs == operatorRead More

Python : Check if a String contains a sub string & find it’s index | case insensitive

In this article we will discuss different ways to check if a sub-string exists in another string and if yes then find it’s index. Will also explore ways to check the existence of sub-string in case in-sensitive manner by ignoring case. Check if a String contains another string or character using “in” and “not in” …

Python : Check if a String contains a sub string & find it’s index | case insensitiveRead More

Covert All Letters of String to Lower Case in JavaScript

Strings are JavaScript’s data type used to represent the textual data and are most commonly used. Many people encounter a general requirement to make all letters of javaScript String in lowercase. This article will discuss different ways to convert all the letters to lowercase using various examples. We will also discuss how to convert to …

Covert All Letters of String to Lower Case in JavaScriptRead More

Cart

Your Cart is Empty

Back To Shop