Neokernel API

EmailTools Methods

The methods of the EmailTools class are listed below. For a complete list of EmailTools class members, see the EmailTools Members topic.

Public Static Methods

changeOverloaded. Does a case-sensitive find and replace within the specified com.neokernel.text.TextRange. Returns a new TextRange representing the changed contents of the TextRange.
fixForHTML Returns a String with greater-than (>), less-than (<), and carriage return (\n) characters changed for HTML compatibility (>, <, and <BR> respectively).
formatDoubleOverloaded. Formats a double value to 2 decimal places as a String. Ending zeros are ommitted.
formatWrap Word wraps the a String to the specified number of columns and returns the wrapped String.
parseEmailAddress This method parses the specified String typically containing the text contents from an email message header (ie: "Bob Smith" <bob@smith.com>) and returns two String components as a Pair. The first element of the Pair is the email name and the second element will contain the email address.
stripEnds Returns a String with surrounding symbols (ie: (), <>, "") removed from the specified String.
stripSpecialChars Removes any escaped ASCII characters and returns the result as a String.
textBetweenOverloaded. Returns a TextRange representing the text between before and after parameters within the specified com.neokernel.text.TextRange. Returns a new TextRange representing the isolated text.

Public Instance Methods

Equals (inherited from Object) 
GetHashCode (inherited from Object) 
GetType (inherited from Object) 
ToString (inherited from Object) 

Protected Instance Methods

Finalize (inherited from Object) 
MemberwiseClone (inherited from Object) 

See Also

EmailTools Class | com.neokernel.email Namespace