Replace a string containing a DOT to New Line.

Support/help with CloverETL implementation problems

girish_526
Posts: 1
Joined: Wed Jan 04, 2017 7:14 am

Replace a string containing a DOT to New Line.

Postby girish_526 » Thu Aug 17, 2017 3:34 pm

Hi,

My string is "123.456.789". I want to replace the decimal to Newline using replace function.

Thanks in advance.

cholastal
Posts: 107
Joined: Tue Sep 01, 2015 1:22 pm

Re: Replace a string containing a DOT to New Line.

Postby cholastal » Fri Aug 18, 2017 9:27 am

Hi,

Here is a simple usage example of the function:

Code: Select all

$out.0.field1 = replace($in.0.field1, "\\.", "\n");


Hope this helps,
---
Lukas Cholasta
CloverCARE Support
CloverETL | Rapid Data Integration

Visit us online at http://www.cloveretl.com
How to speed up communication with CloverCARE support


cron