String manipulation tricks
Posted by: Wortzels blog,
on 29 May 2008 |
View original | Bookmarked: 0 time(s)
Did you ever need to do some string manipulation? For example, in a case you have a collection of string and you want to display it nicely in GUI with a separator? Or, if you want to check if a string contains a value? Or just to build your SQL statement in a case you need to create an "IN" clause and you have a collection as a parameter?
String class gives us some powerful helper methods which help us to manipulate our strings. I'm really sure that you already familiar with some of...