StringUtils Class Reference

#include <StringUtils.h>

List of all members.

Public Member Functions

 StringUtils ()
 ~StringUtils ()

Static Public Member Functions

static int lastIndexOf (char *string, char searchFor)
static int stringlength (char *string)
static char * left (char *input, int length)
static char * concat (char *str1, char *str2)

Detailed Description

Definition at line 12 of file StringUtils.h.


Constructor & Destructor Documentation

StringUtils::StringUtils (  ) 

Constructor

Definition at line 23 of file StringUtils.cpp.

StringUtils::~StringUtils (  ) 

destructor

Definition at line 31 of file StringUtils.cpp.


Member Function Documentation

char * StringUtils::concat ( char *  str1,
char *  str2 
) [static]

Concatenates 2 strings

Parameters:
[in] str1 string 1
[in] str2 string 2
Returns:
str1 plus str2

Definition at line 97 of file StringUtils.cpp.

int StringUtils::lastIndexOf ( char *  string,
char  searchFor 
) [static]

Gets the last index of a character in a string

Parameters:
[in] string to find character in
[in] char to search for
Returns:
int containing position of searchFor or -1 if not found

Definition at line 43 of file StringUtils.cpp.

char * StringUtils::left ( char *  input,
int  length 
) [static]

Performs a 'left' substring

Parameters:
[in] input string to substring from
[in] length number of chars to copy from left of string
Returns:
substring value

Definition at line 79 of file StringUtils.cpp.

int StringUtils::stringlength ( char *  string  )  [static]

Gets the length of a string

Parameters:
[in] string to get length of
Returns:
int containing length of string

Definition at line 67 of file StringUtils.cpp.


The documentation for this class was generated from the following files:
 All Classes Files Functions Variables Defines

Generated on Mon Aug 31 22:03:33 2009 for Wii Console Library by  doxygen 1.6.0