Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members | Related Pages

text/Text.d File Reference

Go to the source code of this file.

Functions

struct TextTemplate (T)
typedef TextTemplate (char) Text

Variables

module mango text Text


Function Documentation

struct TextTemplate  ) 
 

Placeholder for a variety of wee functions. Some of these are handy for Java programmers, but the primary reason for their existance is that they don't allocate memory ~ processing is performed in-place.

Replace all instances of one char with another (in place)

Return the index of the next instance of 'match', starting at position 'start'

Return the index of the next instance of 'match', starting at position 'start'

Return the index of the prior instance of 'match', starting at position 'start'

Return the index of the prior instance of 'match', starting at position 'start'

Is the argument a whitespace character?

Trim the provided string by stripping whitespace from both ends. Returns a slice of the original content.

Definition at line 50 of file text/Text.d.

References assert(), pragma(), TextTemplate(), and version.

Referenced by LineTokenTemplate(), QuotedTokenTemplate(), SetTokenTemplate(), StringTemplate(), TextTemplate(), and TokenTemplate().

typedef TextTemplate char   ) 
 

Placeholder for a variety of wee functions. Some of these are handy for Java programmers, but the primary reason for their existance is that they don't allocate memory ~ processing is performed in-place.


Variable Documentation

module mango text Text
 

Definition at line 39 of file text/Text.d.


Generated on Sat Dec 24 17:28:36 2005 for Mango by  doxygen 1.4.0