What would be a simple implementation of a method to convert a String like ‘Hello there everyone’ to ‘helloThereEveryone’. In JavaME support for String and StringBuffer utility operations are quite limited.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Quick primitive implementation. I have no idea of restrictions of J2ME, so I hope it fits or it gives some ideas…
You can replace the convoluted uppercase append with:
although it might seem more hackish.