How do I wrap words in a String at new line character using tmap?

Five Stars

How do I wrap words in a String at new line character using tmap?

Hi ,
Greetings,
We want to wrap the word in a string at new line width character using tmap.
that is
We want to wrap the word in a string at New Line character(\n).Basically, We are pressing ENTER to start a new line.
that is Enter key to create a new line in Our message when pressed.

Input data :
String is captured in comment column.
Comment column  given is:
EDI ORDER-SAVE COMMENTS C3 Generic LOC 0833 Expected arrival 01/07/2016  OTYPE NE TRKPC 01 GM/00007643020008361321

Expected data should  after transformation:
Long  String of Comment field  should Splits in 6 different llines 
EDI ORDER-SAVE COMMENTS
C3 Generic
LOC 0833
Expected arrival 01/07/2016
OTYPE NE
TRKPC 01 GM/00007643020008361321


Exact Output of Data after transformation looks like :
http://paste.ofcode.org/KbgzFqYqUUaSGpTQFgarWh

for  stockcode entry we dont have comment .But for each Comment entry we don't have stock code on sales order line data.

How to  do text wrapping  using tmap expression ? 

Any help on it would be much appreciated !

2019 GARNER MAGIC QUADRANT FOR DATA INTEGRATION TOOL

Talend named a Leader.

Get your copy

OPEN STUDIO FOR DATA INTEGRATION

Kickstart your first data integration and ETL projects.

Download now

What’s New for Talend Summer ’19

Watch the recorded webinar!

Watch Now

Put Massive Amounts of Data to Work

Learn how to make your data more available, reduce costs and cut your build time

Watch Now

How OTTO Utilizes Big Data to Deliver Personalized Experiences

Read about OTTO's experiences with Big Data and Personalized Experiences

Blog

Talend Integration with Databricks

Take a look at this video about Talend Integration with Databricks

Watch Now