require 'rubygems' require 'keystone' st = %|test "test 02" 日本語 ニホンゴハンカク "にほ んご ですが なにか"| st2 = Keystone::StringUtil.to_searchtext(st) p Keystone::StringUtil.serach_string_to_array(st) p Keystone::StringUtil.serach_string_to_array(st2)