Indexof(Char C): 找到第一個字符c的index,如果沒找到返回-1
Indexof(string str): 找到str的index,如果沒找到返回-1
LastIndexof(string str): 返回當前字符或字符串的最后一個匹配項位置
Indexof(Char C): 找到第一個字符c的index,如果沒找到返回-1
Indexof(string str): 找到str的index,如果沒找到返回-1
LastIndexof(string str): 返回當前字符或字符串的最后一個匹配項位置
本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。