[.NET] 用for next 抓取字串

看板Visual_Basic作者 (livemelody)時間19年前 (2006/11/01 01:55), 編輯推噓1(100)
留言1則, 1人參與, 最新討論串1/1
假設輸入一個字串… ex: 預設:this is a book 輸入:某個單字…判斷剛剛輸入的單字有沒有在句子裡~ 想很久…只會用do while 可是要用到的語法是for next的 不知道要怎麼弄~麻煩各位了~ -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 192.192.128.169

11/01 06:23, , 1F
for i=1 to len(字串)
11/01 06:23, 1F
文章代碼(AID): #15Hutu-D (Visual_Basic)
文章代碼(AID): #15Hutu-D (Visual_Basic)