devxlogo

January 21, 2009

How to Use Properties Files in Java

In Java, you can easily create and use a properties file containing name/value pairs. First, make a .properties file?name it Properties.properties. Place key/value pairs such as name = java in

Truncate a Path String

Sometimes you need to truncate a long path string to make it fit in a control. Currently, there is no .NET class that provides this functionality. The workaround is to