string

Apache Commons

An overview of many commons libraries. Will try to cover the popular ones in separate posts. Apache Commons – Don\'t re-invent the wheel View more presentations from tcurdt.


Why re-invent the wheel? Apache Commons – Lang

While coding what we do most? I think checking the Object variable if it is not null before using it. There are various things which we do usually in our code like iterating an Array for deleting the item, Escaping Strings for a particular use, Adding days to the current date, Adding an item in [...]


Oracle – Escaping Wild Card Characters with LIKE operator

In Oracle, % (percentage) and _ (underscore) have a special meaning. These two wild card characters are used with LIKE operator: % allows matching any string of any length (including zero length) _ allows matching a single character Example #1 SELECT dname FROM dept WHERE dname LIKE ‘A%’; will return all Department names starting with [...]


Oracle: Breaking Comma Separated String Using DBMS_UTILITY.COMMA_TO_TABLE

There are times one has to break a comma separated string and extract actual values from it. Possible reasons for this requirement could be when a procedure takes an unknown number of strings as an input (although arrays/collections can be used instead, but right now we’ll stick to a single string) or while reading csv [...]


Regular Expression – Basics

Regular Expressions View SlideShare presentation or Upload your own. (tags: eclipse development)