[代碼] [Java]代碼 package com.example.anttest; import android.text.SpannableString; import android.text.Spanned; import android.text.TextUtils; import android.widget.MultiAutoCompleteTextView.Tokeni http://www.fpshamen.com/linked/20130301.do; zer; public class SemicolonTokenizer implements Tokenizer { private char charS; private String mSTring; public SemicolonTokenizer(char charS) { this.charS = charS; mSTring = String.valueOf(charS); } public int findTokenStart(CharSequence text, int cursor) { int i = cursor; while (i > 0