dbTalk Databases Forums  

Replacing Characters

comp.databases.oracle.misc comp.databases.oracle.misc


Discuss Replacing Characters in the comp.databases.oracle.misc forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
exec@chicagorsvp.com
 
Posts: n/a

Default Replacing Characters - 09-11-2008 , 12:06 PM






Hi,

We have some messages stored in a column in this format: AA|BB|CC|DD

What we want is to replace the vertical bars with a CHR(10) for line
feed, but have 3 leading spaces.

Everything I try seems to only indent the first item 3 characters.
Even I try to replace it with ' ' || CHR(10) and it ignores the
spaces.......

Ideas anyone?

Reply With Quote
  #2  
Old   
Aya the Vampire Slayer
 
Posts: n/a

Default Re: Replacing Characters - 09-11-2008 , 12:18 PM






exec (AT) chicagorsvp (DOT) com wa:
Quote:
We have some messages stored in a column in this format: AA|BB|CC|DD

What we want is to replace the vertical bars with a CHR(10) for line
feed, but have 3 leading spaces.
It's hard to tell from what you describe, but is this your desired
result?
AA
BB
CC
DD


Quote:
Everything I try seems to only indent the first item 3 characters.
Even I try to replace it with ' ' || CHR(10) and it ignores the
spaces.......

Ideas anyone?
Just curious, are trying to view the result of this in the iSQL*Plus
web interface? (multiple spaces are ignored in HTML rendering)

--
"Care must be exorcised when handring Opiticar System as it is apts to
be sticked by dusts and hand-fat." --Japanese Translators

"Keep your fingers off the lens." --Elton Byington, English Translator


Reply With Quote
  #3  
Old   
Aya the Vampire Slayer
 
Posts: n/a

Default Re: Replacing Characters - 09-11-2008 , 12:18 PM



exec (AT) chicagorsvp (DOT) com wa:
Quote:
We have some messages stored in a column in this format: AA|BB|CC|DD

What we want is to replace the vertical bars with a CHR(10) for line
feed, but have 3 leading spaces.
It's hard to tell from what you describe, but is this your desired
result?
AA
BB
CC
DD


Quote:
Everything I try seems to only indent the first item 3 characters.
Even I try to replace it with ' ' || CHR(10) and it ignores the
spaces.......

Ideas anyone?
Just curious, are trying to view the result of this in the iSQL*Plus
web interface? (multiple spaces are ignored in HTML rendering)

--
"Care must be exorcised when handring Opiticar System as it is apts to
be sticked by dusts and hand-fat." --Japanese Translators

"Keep your fingers off the lens." --Elton Byington, English Translator


Reply With Quote
  #4  
Old   
Aya the Vampire Slayer
 
Posts: n/a

Default Re: Replacing Characters - 09-11-2008 , 12:18 PM



exec (AT) chicagorsvp (DOT) com wa:
Quote:
We have some messages stored in a column in this format: AA|BB|CC|DD

What we want is to replace the vertical bars with a CHR(10) for line
feed, but have 3 leading spaces.
It's hard to tell from what you describe, but is this your desired
result?
AA
BB
CC
DD


Quote:
Everything I try seems to only indent the first item 3 characters.
Even I try to replace it with ' ' || CHR(10) and it ignores the
spaces.......

Ideas anyone?
Just curious, are trying to view the result of this in the iSQL*Plus
web interface? (multiple spaces are ignored in HTML rendering)

--
"Care must be exorcised when handring Opiticar System as it is apts to
be sticked by dusts and hand-fat." --Japanese Translators

"Keep your fingers off the lens." --Elton Byington, English Translator


Reply With Quote
  #5  
Old   
Aya the Vampire Slayer
 
Posts: n/a

Default Re: Replacing Characters - 09-11-2008 , 12:18 PM



exec (AT) chicagorsvp (DOT) com wa:
Quote:
We have some messages stored in a column in this format: AA|BB|CC|DD

What we want is to replace the vertical bars with a CHR(10) for line
feed, but have 3 leading spaces.
It's hard to tell from what you describe, but is this your desired
result?
AA
BB
CC
DD


Quote:
Everything I try seems to only indent the first item 3 characters.
Even I try to replace it with ' ' || CHR(10) and it ignores the
spaces.......

Ideas anyone?
Just curious, are trying to view the result of this in the iSQL*Plus
web interface? (multiple spaces are ignored in HTML rendering)

--
"Care must be exorcised when handring Opiticar System as it is apts to
be sticked by dusts and hand-fat." --Japanese Translators

"Keep your fingers off the lens." --Elton Byington, English Translator


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.