Sunday, February 26, 2012

Re: String replacement with grouping

String.toUpperCase() will not do the trick?

You should probably provide an example of the before and after text...

On Feb 25, 4:20 pm, oogie <cmadu...@gmail.com> wrote:
> If I wanted to perform a search and replace on a string where I need
> to use grouping functionality, what is the best approach?  There
> doesn't seem to be any information available on how to do this.  For
> instance, given a string with a mix of lowercase characters and other
> symbols, I'd like to convert this to string where the lowercase alpha
> characters have been replaced with uppercase alpha characters.  Since
> Pattern and Match from Java are not allowed, what would be the best
> approach?  Thanks for any help.

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

No comments:

Post a Comment