Format numbers





ranking Sort Sort   |   date Sort Sort   |   member Sort Sort
Syndication

6
Date Submitted Thu. Aug. 24th, 2006 1:58 PM
Revision 1
Beginner jamesstaylor
Tags Java
Comments 1 comments
This is a quick and easy class that will generate MD5 hashes from strings. I originally wrote it to insert into my Oracle database so I could generate MD5 hases for passwords from PL/SQL.

Example

String md5Hash = stringMD5("my password");
8
Date Submitted Mon. Aug. 7th, 2006 4:48 PM
Revision 1
Scripter bertheymans
Tags Date | Java | Time
Comments 0 comments
If you only want to compare yyyy-mm-dd you can use the java.sql.Date class, the valueOf method does the trick. It's perfectly safe as the sql Date class is a subclass of the Date class.

Check out the docs here for more detail.

enjoy
6
Date Submitted Thu. Aug. 3rd, 2006 12:10 PM
Revision 1
Helper bobbyrward
Tags boost | CPlusPlus | Format | printf
Comments 0 comments
boost::format gives you the ablility to safely use printf like formatting as well as positional format specifiers ala .NET.
8
Date Submitted Mon. Jul. 24th, 2006 9:54 PM
Revision 1
Helper svachon
Tags "Regular | Expression" | JavaScript | RegExp | String
Comments 0 comments
Gets a regular expression that'll search for any regexp pattern specified in the parameters.
9
Date Submitted Mon. Jul. 24th, 2006 9:45 PM
Revision 1
Helper svachon
Tags JavaScript | String
Comments 0 comments
Gets the rightmost substring, of the specified length, from a String object.
6
Date Submitted Sun. Jul. 23rd, 2006 5:39 PM
Revision 1
Helper rugi
Tags Array | Java | Random
Comments 0 comments
Method for get n random number's
3
Date Submitted Sat. Jul. 15th, 2006 8:18 PM
Revision 1
Beginner materix
Tags Slashes | String | Strip
Comments 0 comments
Sometimes you need to remove slashes from POST variables which could contain arrays. The standard slipslashes-function only takes a string as parameter.

This function removes slashes from both a simple string and array variable.
13
Date Submitted Tue. Jul. 11th, 2006 10:34 PM
Revision 1
Coder mattrmiller
Tags Generator | Number | PHP | Random | String
Comments 2 comments
Generate a random number or string in PHP.
11
Date Submitted Wed. Jul. 5th, 2006 8:15 AM
Revision 2
Helper poncho
Tags Array | Name | PHP | String | Value
Comments 3 comments
Convert an irregular name=value pair string into a formatted array.
3
Date Submitted Tue. Jun. 13th, 2006 3:21 PM
Revision 1
Helper gbarendt
Tags enum | String | VB.NET
Comments 0 comments
Given a string, you can return an Enum value

Originally found at http://codeproject.com/dotnet/EnumTips.asp?df=100&forumid=38264&exp=0&select=797671