Class String
In: OWLScribble.rb
TagTreeScanner.rb
Parent: Object

Extensions to the built-in String class

Methods

Public Instance methods

Returns a copy of the string with spaces inserted in the ‘appropriate’ spots. e.g.

 "WikiWord".dewikiword     #->  "Wiki Word"
 "OWLScribble".dewikiword  #->  "OWL Scribble"
 "ToXML".dewikiword        #->  "To XML"

Same as dewikiword, but modifies the string in place

Returns a copy of the string with all &, < and > characters replaced by their equivalent XML entities (&amp;, &lt;, and &gt;)

Modifies the string, replacing all &, < and > characters with their equivalent XML entities (&amp;, &lt;, and &gt;)

[Validate]