打印

可以作出雙位元語系的全文檢索嗎?

如果是純英文倒不難  但如果是雙位元的語系
如繁體中文  或是韓 日文  要用到那些指令
而且如果對象不是一個資料庫  而只是一篇文字檔
要如何作?   請各位先進解疑  謝謝
lingo支持--雙位元的語系(其实我不能确定这个是什么)
简点的写了一下,主要还是看优化了
on searchtext num,stext  
  global searchlist
  set searchlist=[]
  set jcchar=0
  temptext=member(num).text
  set dd=stext.char.count
  repeat while offset (stext,temptext)
    tempchar=offset (stext,temptext)
    jcchar=tempchar+jcchar
    searchlist.append(jcchar)
    delete temptext.char[1..tempchar+dd-1]
  end repeat  
end
对于敌人,才有平等
对于死亡,才有自由