From: Ferdous ara Date: 2012-09-04T22:37:04+09:00 Subject: how to 2 string from hostname hostname bd-vs-55.bd.domain.lan I just want to convert this so that i can this(capital) BD55 How can i get that ?? Thanks for help -- Posted via http://www.ruby-forum.com/.