Project

General

Profile

Bug #250 » tr_sample.rb

1.8 用 (KCODE) - Anonymous, 07/09/2008 08:00 PM

 
1
  #!/usr/local/bin/ruby
2
  $KCODE='u'
3
  require "jcode"
4
  str="artGHIE2342"
5
  str=str.tr('a-zA-Z1-9','a-zA-Z1-9')
6
  print str