how to separated multiuser record c# from text box by ;

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • hazim
    New Member
    • Dec 2010
    • 2

    #1

    how to separated multiuser record c# from text box by ;

    like this
    but in c#

    'this returns the list of users from the text field seperated
    'by carriage returns
    dim users() as string = txtUserNameFiel d.Text.Split(vb Cr)

    ' this loops through all of the users
    for i as integer = to users.length - 1
    'this splits up the user name from the domain
    'because it is seperated by the "\"
    dim networkName() as string = users(i).Split( "\")
Working...