L
Laser Lu
Sometimes, I need to do some time-consuming operations based on whether a
specific keyword was contained in a lengthy string. Then, for a better
performance, I wrapped that lengthy string into a StringBuilder.
But after doing that, it seems there's no proper methods defined in
StringBuilder for me to search for a specific keyword. How to resolve this
problem? Does this mean I can not use StringBuilder for keyword search?
specific keyword was contained in a lengthy string. Then, for a better
performance, I wrapped that lengthy string into a StringBuilder.
But after doing that, it seems there's no proper methods defined in
StringBuilder for me to search for a specific keyword. How to resolve this
problem? Does this mean I can not use StringBuilder for keyword search?