Results 1 to 5 of 5

Thread: string32.split SOLVED

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Oct 2002
    Posts
    67

    string32.split SOLVED

    heres a bit of a noob question. I've done this 100 times with regex and string builder, but i need to do it with string32 now.

    i have mystring = "part1\part2" i need to split on the "\" and extract the word "part2" only the obvious doesnt work.

    mystring.split("\") doesnt work, neither does the regex method of mystring.split("\\")


    Help!
    -------------
    YA know I really hate it when i post a questiong after searching for an answer for a couple of hours then find it right after i post.

    Dim myString As String = "Look at these!"
    ' Returns ["Look", "at", "these!"]
    Dim myArray() As String = Split(myString)


    for the records
    Last edited by Iamthewalrus15; Jun 3rd, 2003 at 02:07 PM.

  2. #2
    Banished Cander's Avatar
    Join Date
    Dec 2000
    Location
    Why do you care?
    Posts
    6,913
    What is String32? I find no reference of any such class in .NET.
    Stack Overflow
    See the features of Visual Studio 2010 and C# 4.0: The 10-4 show on Channel9

  3. #3

    Thread Starter
    Lively Member
    Join Date
    Oct 2002
    Posts
    67
    string32 is the big name for string

  4. #4
    Banished Cander's Avatar
    Join Date
    Dec 2000
    Location
    Why do you care?
    Posts
    6,913
    oh..So you fixed it though?
    Stack Overflow
    See the features of Visual Studio 2010 and C# 4.0: The 10-4 show on Channel9

  5. #5

    Thread Starter
    Lively Member
    Join Date
    Oct 2002
    Posts
    67
    yes see my edit of my original message.

Posting Permissions

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



Click Here to Expand Forum to Full Width