Removing a string from Stringbuilder

  • Thread starter Thread starter Santosh Umarani
  • Start date Start date
S

Santosh Umarani

Guest
Hi,

I have a collection of strings in stringbuilder object. I want to search a particular string in stringbuilder and if the string exists, I want to remove the searched string.

Example:

StrinBuilder object contains:

A

B

C

D

E

If string to be searched is "C", then my strinbuilder should contain without empty space.

A

B

D

E

Please let me know better way for this solution.


Thanks,

Santosh

Continue reading...
 
Back
Top