Skip to main content
Announcements
See what Drew Clarke has to say about the Qlik Talend Cloud launch! READ THE BLOG
cancel
Showing results for 
Search instead for 
Did you mean: 
gizzel123
Creator
Creator

replace('X', <field>, '0') not working

Hi All,

I want to replace the 3rd char  'X'   from <field>,   to '0'.

thanks.

5 Replies
alexandros17
Partner - Champion III
Partner - Champion III

Try with:

Replace(field, 'X', '0')

let me know

fvelascog72
Partner - Specialist
Partner - Specialist

Hi,

Try this:

Replace(FIELD,mid(FIELD,3,1),0)

qlikmsg4u
Specialist
Specialist

This should work

=Replace('FIELD',mid('FIELD',3,1),0)

jagan
Luminary Alumni
Luminary Alumni

Hi,

Try like this

Mid(FIELDNAME, 1,2) & '0' & Mid('FIELDNAME', 4)

Hope it helps you.

Regards,

Jagan.

sujeetsingh
Master III
Master III

=left(Field,2) &'0'& right(Field,len(Field)-3)

TRY this