Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×
The Claris Museum: The Vault of FileMaker Antiquities at Claris Engage 2025! ×

This topic is 4135 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

I have a text field containing reports imported from an electronic patient record DB.

 

These reports have tons of open space between paragraphs etc, making reading difficult (much unnecessary scrolling).

 

There are no excess space characters, and trim() has no effect (many records start with multiple empty lines).

 

Presumably there are invisible <CR> characters all over the place, but I can't strip them out with substitute (field; "¶¶" ; "") or anything similar.

 

Any suggestions on how to edit invisible characters with the calc engine?

 

 

thanks!

Posted

Thanks Lee, I'll give it a try, but that is only designed for leading and lagging white space.

 

I need something for white space inside as well...

Posted

Try =

Let (
prep = Substitute ( text ; [ " " ; "§" ] ; [ Char ( 10 ) ; " " ] ; [ ¶ ; " " ] )
;
Substitute ( TrimAll ( prep ; 0 ; 0 ) ; [ " " ; ¶ ] ; [ "§" ; " " ] )
)
  • Like 1
Posted

Thanks, that Char function is what I was looking for!

 

Is there a handy place to look up the Unicode numbers? How do you combine several numbers in a string?

 

Char (10)(xx)(yy)  ?

This topic is 4135 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.