Hi,
I would like to split a text stock in my database and show it in
different textbox:
For example:
my text is like this : server1;server2;server3;server4server5
When a user wants to edit the object text I would like that the page
show :
etc…
How Can I do this?
thanks a lot
Harry Ko wrote:
Hi,
I would like to split a text stock in my database and show it in
different textbox:
For example:
my text is like this : server1;server2;server3;server4server5
When a user wants to edit the object text I would like that the page
show :
etc…
How Can I do this?
Why do you think you want to? If the data should be displayed in
multiple fields, then it probably should be saved in multiple fields in
the DB B
thanks a lot
Best,
–Â
Marnen Laibow-Koser
http://www.marnen.org
[email protected]
Hi Harry Ko
Dont know what your intention is .But anyway answer to your question
is
arr = “server1;server2;server3;server4server5”.split(’;’)
Now iterate through arr variable which is an array
Sijo
Sijo k g wrote:
Hi Harry Ko
Dont know what your intention is .But anyway answer to your question
is
arr = “server1;server2;server3;server4server5”.split(‘;’)
Now iterate through arr variable which is an array
Yes. But just to reiterate: if you need to do this, there’s probably a
design problem. Fix the problem instead of working around it.
Sijo
Best,
–Â
Marnen Laibow-Koser
http://www.marnen.org
[email protected]