????? ??????? ???? ?????? ??? ??? ????? ????? ??? ???? ?????

?????? ????????? ?????? ?????????
???? ???????: 266289 - ??? ???????? ???? ????? ????? ??? ???????.
????? ???? | ?? ????

??????

???? ??? ?????? ????? ??????? ?????? ?????? ???? ????? ????? ??? ???? ?????. ??? ????? ?? ?? ?????? ????? ?????? Microsoft Visual Basic ??? ??????? ????? ??????? ?????? ?????? ????? ?????? ?? ????? ??? ???? ?????? ?????? ??????.

??????? ????

????? Split Function ???? ????? ??????? ????? ??? ??? ???? ?? ????? ?????. ????? ??????? ??? ?????? ???? ?????? ?????? ??? ?? ???? ????? ?????? ??? ???? ??????? ??????? ??? ?????.

???? ??????? ??????? ?????? ????? ?????:
  1. ????? ????? EXE ????? ????. ??? ????? Form1 ???? ???????.
  2. ????? CommandButton Form1.
  3. ?? ?????? ????????? ???????? ??????? ??? ???? ????????? ???????? ?????? Form1:
    Option Explicit
    
    Private Sub Command1_Click()
       Dim strTest As String
       Dim strArray() As String
       Dim intCount As Integer
       
       strTest = "Fred & Wilma & Barney & Betty"
       strArray = Split(strTest, "&")
       
       For intCount = LBound(strArray) To UBound(strArray)
          Debug.Print Trim(strArray(intCount))
       Next
    End Sub
    					
  4. ?? ??????? ???? ???? ??? ?????? ??????.
  5. ?? ??????? ????? ? ???? ??? ???? ?? ???? ??????? F5 ?????? ????????.
  6. ???? ??? Command1 ????? ????. ?????: ???? ?? ??? ?? ????? strTest ??? ??? ????.

???????

???? ???????: 266289 - ????? ??? ??????: 27/????? ??????/1425 - ??????: 1.3
????? ???
  • Microsoft Visual Basic 6.0 Professional Edition
  • Microsoft Visual Basic Enterprise Edition for Windows 6.0
????? ??????: 
kbmt kbhowto kbstring KB266289 KbMtar
????? ????
???: ??? ????? ??? ?????? ???????? ?????? ????? ???? ????? ?????????? ????? ?? ????????? ?????? ????. ???? ???? ?????????? ???? ?? ???????? ???????? ?????? ????????? ????? ????????? ???????? ????? ???????? ?????? ?? ?????? ??? ?? ???????? ???????? ?? ????? ??????? ?????? ??? ??????? ?????? ??. ?????? ?? ???? ??? ??????? ???????? ????? ?? ???? ????? ?????? ??? ????? ??? ????? ??????? ?? ????? ?? ?????? ??? ??? ??????? ??????? ?? ????? ????? ????? ????? ?????. ?? ????? ???? ?????????? ??????? ??? ????? ?? ??????? ?? ????? ?????? ?? ??? ????? ?? ????? ??????? ?? ???????? ?? ??? ???????. ???? ???? ?????????? ???????? ??? ????? ?????? ??????? ??????
???? ??? ????? ??????? ?????? ??????????266289

????? ???????

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com