Class String
In: lib/ajaxim_string.rb
Parent: Object

We need to extend Sting class to simplify working with drupal prefix and etc.

Methods

Public Instance methods

PHP‘s two argument version of strtr Call using a hash for the replacement pairs: "AA BB".strtr("AA" => "BB", "BB" => "AA") #=> "BB AA"

[Validate]