removing substring from a string

Hi,
I'm having problem with removing substring from a string. Suppose I have a string aaabbbccc and I want to remove aaa. How can I do that?
static86Asked:
Who is Participating?
 
objectsCommented:
s = s.replace("aaa", "");
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.