Is String Empty





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

7
Date Submitted Fri. Aug. 4th, 2006 8:22 AM
Revision 1
Beginner plinge
Tags CPlusPlus | MFC
Comments 1 comments
Simple tests for dir and file existance. Path creation and removal.
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.
10
Date Submitted Thu. Aug. 3rd, 2006 11:54 AM
Revision 1
Helper bobbyrward
Tags boost | CPlusPlus | preprocessor | shared_ptr
Comments 0 comments
template function to create a boost::shared_ptr in the form

boost::shared_ptr classPtr = new_ptr(Arg1, Arg2);

You can also make new_ptr_access a friend of className and make the constructor and destructor private.

This keeps the end user from:

Creating an instance manually on the heap
Creating an instance manually on the stack
Deleting a shared_ptr manually using "delete get()"
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.
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
9
Date Submitted Fri. May. 26th, 2006 11:16 AM
Revision 2
Coder mattrmiller
Tags "Email Address" | Java | String | Validate
Comments 2 comments
Fixed the regular expression to check for more strict requirements.