Ref Array class
k = "This \t is \t just \t testing"
$param=k.chomp.split("\t")
array_length= $param.length #or $param.size
puts "length of $param is : #{array_length}"
o/p
length of $param is : 4
Ref Array class
k = "This \t is \t just \t testing"
$param=k.chomp.split("\t")
array_length= $param.length #or $param.size
puts "length of $param is : #{array_length}"
o/p
length of $param is : 4