This tutorial guides you to find mongo documents where a field contains a string pattern using mongodb’s regular expression capabilities.
This tutorial guides you how to compare and sort numeric strings as numbers in mongodb using Collation feature of Mongo.
This tutorial shows you how to convert comma separated String to List and vice versa.
In this sneppet you will learn how to check if string is not empty and not null in Java. Note, a String with just whitespace is not considered as empty in Java. The following are the ways to test whether… Read More!
Given an input string, the goal is to remove duplicate characters from a string and the output string should have the resultant string without modifying the order of characters in the original string. Let’s solve the above problem in O(n)… Read More!