Srijani Ghosh

Greenhorn
+ Follow
since Oct 11, 2013
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Srijani Ghosh

you may use the following process , i.e. using regex as follows-

String[] splited = result.split("\\s+");
String[] splited1 = new String[splited.length];

for (int i = 0; i < splited.length; i++) {
int l = splited[i].length();
result1 = "";
for (int j = 0; j < splited[i].length(); j++) {
String next = splited[i].substring(j, j + 1);

if (j == 0) {
result1 += next.toUpperCase();
} else {
result1 += next.toLowerCase();
}
}
splited1[i] = result1;
}
result = "";
for (int i = 0; i < splited1.length; i++) {
result += " " + splited1[i];
}
For more details , please refer to this post -
http://javacodingtutorial.blogspot.com/2013/10/converting-any-string-to-camel-case.html
10 years ago
Follow this tutorial to create a simple web service. It worked for me -

http://javacodingtutorial.blogspot.com/2013/10/creating-web-service-with-maven-jersey.html

Thanks,

Srijani
10 years ago