The people who attended my presentations at RMOUG Training Days 2010 asked several good questions. One question that was asked in the Groovy presentation that I really wish I had included a slide on ...
I was involved in a recent discussion on the "best" way to remove a given parameter from a URL string. The conversation began with using string primitives to split and join the parameter, a method ...
Java’s character and assorted string classes offer low-level support for pattern matching, but that support typically leads to complex code. For simpler and more efficient coding, Java offers the ...
You know the maxim, “Give a man to fish and he eats for a day; teach a man to fish and he eats for a lifetime”? A similar adage applies to anyone who spends a lot of time working with text on their ...
Let’s say we need a JavaScript function that will take a string of tagged text (that is, it contains Extensible Markup Language (XML) markup) and return only the tags (and not the text that the tags ...