Write a java program to find a substring in string
Problem Statement Given three strings say Searchstring, Str1, and Str2 as input, write a Java program to find out if Str2 comes after Str1 in
Problem Statement Given three strings say Searchstring, Str1, and Str2 as input, write a Java program to find out if Str2 comes after Str1 in
Given a string, startIndex and length, write a program to extract the substring from right to left. Assume the last character has an index of
Given a string input, write a program to find the total number of vowels in the given string. It returns an int that corresponds to
Write a program to read a string representing a date. The date can be in any of the three formats dd-MM-yyyy dd/MM/yyyy dd.MM.yyyy If the
Write a program to read a string and return a modified string based on the following rules. Return the String without the first 2 chars
Write a program to read two integer arrays and find the sum of common elements in both the arrays. If there are no common elements
Write a program to read an integer array and find the average of the numbers located on the Prime location(indexes). Round the average to two
Write a program to read a string from the user and remove all the alphabets and spaces from the String, and only store special characters and digit in
Write a program to read Date of Joining and the current date as Strings and Experience as integer and validate whether the given experience and
Given an input as the date of birth of the person, write a program to calculate on which day (MONDAY, TUESDAY….) he was born to store and