This topic is locked

Text Area Delimiter

10/1/2008 2:04:30 PM
PHPRunner General questions
J
jskewes author

Hi,

Can anyone help?

I have an import that drops a large text string into a Text Field. The string uses '|' as a new line delimiter.
An example is;

Air conditioning|Automatic temperature control|Brake assist|Bumpers: body-color|CD player|Delay-off headlights|Diversity antenna
I would like this to read;

Air conditioning

Automatic temperature control

Brake assist

Bumpers: body-color

CD player

Delay-off headlights

Diversity antenna
Can anyone suggest how to accomplish this?

I have a feeling it is something like; Char(0)'|'

But I do not know the rest or how to apply.
Thank you.

/john

S
spintz 10/2/2008

PHP function would be explode
JS function is split

J
jskewes author 10/2/2008

Hi Spintz,

Thank you for responding.

Do you know how you would apply this?
/john

PHP function would be explode

JS function is split

T
thesofa 10/2/2008
T
thesofa 10/2/2008
J
jskewes author 10/2/2008

Hi -

Thanks for that. I'll give it a try and let you know what happens.

I appreciate the help.
/john

or even this

http://www.w3schools.com/PHP/func_string_explode.asp

Google is wonderful.