Solved

Clean line breaks from Excel file? (Reader)

  • 18 December 2018
  • 3 replies
  • 9 views

Badge

Hi all,

 

 

After some investigation I found out my Excel reader file contains "line breaks" causing FME to write the content of a single Excel cell to multiple lines.

 

 

Is there a way in FME to clean line breaks?

 

 

Thanks,

 

Ed
icon

Best answer by david_r 18 December 2018, 14:50

View original

3 replies

Userlevel 4

You can use a StringReplacer:

0684Q00000ArLUcQAN.png

Text to replace:

\n

For replacement text you can either leave it blank or use a space, depending on what you need.

Badge

You can use a StringReplacer:

0684Q00000ArLUcQAN.png

Text to replace:

\n

For replacement text you can either leave it blank or use a space, depending on what you need.

@david_r

 

 

Thanks David, that did the trick!

 

These "invisible" characters kill me every time.

 

 

Cheers,

 

Ed
Userlevel 4

@david_r

 

 

Thanks David, that did the trick!

 

These "invisible" characters kill me every time.

 

 

Cheers,

 

Ed

You're not the only one struggling with those...! Glad to hear it worked out.

Reply