Programming Tips
Research on Ruby on Rails, JavaScript, CSS, HTML, Php and Flash
Showing posts with label
loop alphabet in ror
.
Show all posts
Showing posts with label
loop alphabet in ror
.
Show all posts
Friday, October 30, 2009
Ruby on Rails : Loop Alphabet A to Z
Print alphabet from A to Z using Array.
Example code :
<%= ('A' .. 'Z').to_a*" " %>
Output :
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
Older Posts
Home
Subscribe to:
Posts (Atom)