Print out the numbers from the for loop

The Return type is void No input parameters Print out the numbers calculated results separated by a space using current number add the next number from 0 to (a+b). An example would be if the numbers …

How to extract words of constant length form a paragraph?

I’m trying to extract the words form a paragraph/string. I searched it out many where but didn’t find relative material. I want to extract words of length 4 from “I want to have alot of moneys when …

Split Word into Two and Check Existence in Comma Separated String Sequence

I have a string array for example: new String[] = {“powerhouse”, “p, pow, power, house, pose, poser”}; My goal is to split the first entry in the array in this case powerhouse into any two words and …

Find substring in List and return Index Number

I have an List, with Strings like: String One String Two String Three Now i would like to get the Index Number for the Substring “One”. How can i get this? I only could make it if i convert it to an …