Link to home
Start Free TrialLog in
Avatar of Shroom
Shroom

asked on

I am making an IRC chat program and I need...

I am making an irc chat program and when I get the names of the people in the chat room it puts them in a text box like this:
Carl Gary Mike Jhon
But I need them to be added to a list box! But if there is a space in the name like this:
Jhon Shroom Kitty Catt
It makes kitty and Catt to seperate names how should I go about making this work? If it is even possible? Also if it isn't possible, then how might I go about making it add just the names to the list box? Thanx........
Avatar of idcanada
idcanada


If you have te listbox read a string,
you will not have this problem of spaces.

The listbox will add it as is.

If you have te listbox read a string,
you will not have this problem of spaces.

The listbox will add it as is.
Avatar of Shroom

ASKER

Do u have the code for this???
Avatar of Shroom

ASKER

I have a text box and need to add em to a list box. But I need it to make the names go like this:
The names are already like this:
Gary Mark Shaun
I need it to make a list box like this:
Gary
Mark
Shaun
--------------
Ok but i know how to do this just cut it off at the space but It if the name has a space in it like Kozy Kitten it makes Kozy Kitten 2 speperate names.
Do u have the code to make this work???
Avatar of Shroom

ASKER

I am rejecting ur answer cause there isn't enough info... sorry
ASKER CERTIFIED SOLUTION
Avatar of prozak
prozak

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial