strtoupper
-
Making an entire string uppercase is done using Ruby’s
String#upcasemethod.PHP
print strtoupper('Hey World'); // => HEY WORLD
Ruby
puts "Hey World".upcase # => HEY WORLD
see also
Looking for Rails or PHP web application development, integration, and training?
Rails for PHP is brought to you by Maintainable Software. Get custom web applications and personalized training from the authors of the book and website.

