We help IT Professionals succeed at work.

find and repalce string in field

henryk123
henryk123 asked
on
107 Views
Last Modified: 2015-07-17
Hello,

Looking for crystal formula let me find specific text in string field and replace with other text.
I'm looking for CS, should be replace by PL

thanks

henry
Comment
Watch Question

Top Expert 2015

Commented:
Hi

tst := Replace (tst,"CS" ,"PL" );

Author

Commented:
My formula look like:
{Shipment.OrderReference}+space(1)+"-"+space(1)+{Shipment.ReleaseIdentification}

I need find and replace in Shipment.ReleaseIdentification

Where I should add your statement ?
thanks

h.
Top Expert 2015
Commented:
This one is on us!
(Get your first solution completely free - no credit card required)
UNLOCK SOLUTION
CERTIFIED EXPERT

Commented:
I'm not expecting any points for this.  Use Replace, as Kanti Prasad suggested.  In this case, you can just replace the field with the Replace function.

{Shipment.OrderReference}+space(1)+"-"+space(1)+
 Replace ({Shipment.ReleaseIdentification},"CS", "PL")

 James
Unlock the solution to this question.
Join our community and discover your potential

Experts Exchange is the only place where you can interact directly with leading experts in the technology field. Become a member today and access the collective knowledge of thousands of technology experts.

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.