Computer Science, asked by boraayush77, 9 months ago

Input the string “Successor”. Write a script to split the string at every occurrence of
the letter s.​

Answers

Answered by hoangmustang
0

Answer:

MY ANSWER IS WRITTEN IN JAVA<CHECK IT OUT>

package newPack;

public class STRINGH {

public static void main(String[] args) {

 // TODO Auto-generated method stub

String h = "Successor";

String [] a = h.split("s");

for(String j : a) {

System.out.println(j);

}

}

}

Explanation:

BRAINLIEST!

Answered by Anonymous
1

Answer:

Explanation:

A String str is given which contains lowercase English letters and spaces. It may contain multiple spaces. Get the first letter of every word and return the result as a string. The result should not contain any space

Similar questions