DotNX::Core::Strings Class Reference

String related helper functions. More...

List of all members.

Static Public Member Functions

static List< string > Tokenize (string text, string delimiter)
 Splits a string at each occurrence of a separator.
static List< string > Tokenize (string text)
 Splits a string at each occurrence of a blank character.
static string Join (string sep, IEnumerable< string > list)
 Joins an enumeration of strings and inserts a separator between each adjacent pairs.


Detailed Description

String related helper functions.


Member Function Documentation

static List<string> DotNX::Core::Strings::Tokenize ( string  text,
string  delimiter 
) [static]

Splits a string at each occurrence of a separator.

Parameters:
text The string to be split.
delimiter The separator.
Returns:
A list of strings.

static List<string> DotNX::Core::Strings::Tokenize ( string  text  )  [static]

Splits a string at each occurrence of a blank character.

Parameters:
text The string to be split.
Returns:
A list of strings.

static string DotNX::Core::Strings::Join ( string  sep,
IEnumerable< string >  list 
) [static]

Joins an enumeration of strings and inserts a separator between each adjacent pairs.

Generalizes the standard string method of the same name by taking any generic enumerable as argument.

Parameters:
sep The separator
list A generic string enumeration.
Returns:
The string that combines the arguments.


The documentation for this class was generated from the following file:

SourceForge.net Logo
Generated on Sat Oct 18 14:13:25 2008 for .Nick's 0.1.0 by  doxygen 1.5.7.1