½Ð°Ý¦b¦r¦ê¤¤§ä¦r¤¸ªº¶i¶¥¥Îªk
- ©«¤l
- 6
- ¥DÃD
- 2
- ºëµØ
- 0
- ¿n¤À
- 50
- ÂI¦W
- 90
- §@·~¨t²Î
- windows
- ³nÅ骩¥»
- office2016
- ¾\ŪÅv
- 20
- µù¥U®É¶¡
- 2019-9-6
- ³Ì«áµn¿ý
- 2025-4-7
    
|
¥»©«³Ì«á¥Ñ JasnH ©ó 2019-10-19 18:25 ½s¿è
Sub test1()
p = 5 'The position of nth "_"
tx = Cells(1, 1)
For i = 1 To Len(tx)
If Mid(tx, i, 1) = "_" Then jo = jo & " " & i
Next i
s = Split(Mid(jo, 2))
Ans = s(p - 1)
MsgBox "The position of " & p & "th ""_"" is " & Ans
End Sub |
|
|
|
|
|
|