Soldato
- Joined
- 20 Jan 2005
- Posts
- 2,722
- Location
- Whitley Bay
Hi there,
Is there a way of setting a maximum number of characters that a listbox can display per item?
I have some code which pulls text from html source code into a listbox but I'm unable to trim some of the characters after the important stuff (if I remove them it affects another part of the code).
The important text will never exceed 5 characters so if I could limit the characters in the listbox to 5 that would solve the problem.
An example of the value going into the listbox is 19386</td>.
I need only to show the numeric value.
Any ideas?
Thanks
Si

Is there a way of setting a maximum number of characters that a listbox can display per item?
I have some code which pulls text from html source code into a listbox but I'm unable to trim some of the characters after the important stuff (if I remove them it affects another part of the code).
The important text will never exceed 5 characters so if I could limit the characters in the listbox to 5 that would solve the problem.
An example of the value going into the listbox is 19386</td>.
I need only to show the numeric value.
Any ideas?
Thanks
Si
