CCAFFEINE  0.8.8
Static Public Member Functions
JString Class Reference

#include <JString.h>

List of all members.

Static Public Member Functions

static boolean startsWith (char *haystack, char *needle)
static int indexOf (char *haystack, char *needle)
static int indexOf (char *s, char c)
static int indexOf (char *s, char c, int r)
static int lastIndexOf (char *s, char c)
static int compareTo (const char *s1, const char *s2)
static int compareToIgnoreCase (const char *s1, const char *s2)
static CFREE char * toLowerCase (const char *s)
static CFREE char * strdup (const char *s)

Detailed Description

A java string class replacement for c++ without strings as objects. e.g. java s.startsWith(needle); is in c++ JString::startsWith(s,needle); For now we are only implementing the functions needed, as the real java class is full of cruft. This class is deliberately out of jcpp::. As it is all static, jcpp is redundant with JString.

See also:
java's String.

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