multi column array problem

Results 1 to 3 of 3

Thread: multi column array problem

  1. #1
    Join Date
    Dec 1969

    Default multi column array problem

    I have a strings like "Link headline #1<<>>" and I want to split the strings at the <<>> and have the headline and the link in an array row together, then I will loop thru all the strings and place them into the array. Can anyone help? Thanks

  2. #2
    Join Date
    Dec 1969

    Default RE: multi column array problem

    look in the vbscript reference<BR><BR>split(varname,"&#060;&#060;&#062; &#062;")

  3. #3
    Eddie Campbell Guest

    Default RE: multi column array problem

    2 ways to do it.<BR><BR>1) Use MyArray=Split(MyString,"&#060;&#060;&#062;&#062;",-1,1) to put the string into a 1 dimensional array.<BR><BR>2) Str1 = Left(MyString,Len(MyString) - Instr(MyString,"&#060;&#060;&#062;&#062;")-5)<BR> Str2 = Right(MyString,Len(MyString) - Len(Str1)-4)<BR>Now put Str1 and Str2 into your array

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts