The time is now 6:21 pm You last visited November 22, 2009, 7:00 am | Comments for "Simple function to split camelCase words"August 30, 2007, 11:54 amSimple function to split camelCase wordsThe phrase "camel case" is used to describe a common method of naming variables, properties, and methods in a programming language. It is useful for stringing several words together, while maintaining readability. (More here) If you ever have the need to split apart the words in a camel case word, here's just about the easiest way to do it (shown in both VB.NET and C#): SplitCamelCase() - VB Function SplitCamelCase(ByVal Source As String) As String() SplitCamelCase() - C# string[] SplitCamelCase(string source) {
CommentsThis Blog entry currently has no comments. You must be a Lottery Post member to post comments to a Blog. Register for a FREE membership, or if you're already a member please Log In. |