Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

replace all occurrence with range - issue

Former Member
0 Likes
857

Hi,

I have a range with "letters" like ":" or "-" or "."

Note: all entries are with option = "equal"

Now i need to "replace all occurrences" of "all entries in that range" with space.

idea:


loop at range assigning <range>.

replace all occurrences of <range>-low in aaa with space 
endloop. 

Any better ideas ?

Regards,

Gordon

6 REPLIES 6
Read only

ThomasZloch
Active Contributor
0 Likes
786

Maybe you can use

TRANSLATE aaa USING ': - . '.

instead.

Thomas

Read only

0 Likes
786

HI,

i have to fill (policy) the "what is to be replaced"-values in a range.

any other ideas ?

Regards,

Gordon

Read only

0 Likes
786

sorry, wrong post

Edited by: Rajesh on Feb 9, 2009 10:28 PM

previous reply deleted

Read only

0 Likes
786

Strange policy that. Well, you can convert your range values into the translation string and use TRANSLATE as shown, or just stick with your first idea and use REPLACE.

Thomas

Read only

0 Likes
786

Sorry but i think my question was not clear.

is there another way instead of using the "loop" ?

The translate or replace statement is not the problem

thx,

Gordon

Read only

tarangini_katta
Active Contributor
0 Likes
786

HI ,

Can you please give one reocrd of u r table.So that i can try to record.

Thanks