Minor programming bug in StringHelper
Posted: Sat Dec 15, 2007 5:00 pm
The StringHelper.InitialCase() function bombs if the string has any leading or trailing spaces.
StringHelper.InitialCase(" Hello") bombs
StringHelper.InitialCase("Hello ") bombs
StringHelper.InitialCase(" Hello ".Trim) fixes it
You guys probably already knew that but thought I'd share the info just in case there might be a free Pepsi involved
StringHelper.InitialCase(" Hello") bombs
StringHelper.InitialCase("Hello ") bombs
StringHelper.InitialCase(" Hello ".Trim) fixes it
You guys probably already knew that but thought I'd share the info just in case there might be a free Pepsi involved
