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 4802 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

I have a filemaker solution that extracts website html from different sites and puts them into a field and it would be SO much easier to use the html in that field if all the spaces and carriage returns throughout the field were gone, I've tried like the trim4 custom function, but couldn't make it work. Any suggestions, I've attached a sample file below.

SampleB.fp7.zip

Posted

Removing all spaces and carriage returns in a field is very easy; however I am not sure that is really what you want, as it will also change:

Frigidaire FPES3085KF Professional 30 Slide-In Electric Range - Stainless Steel

into:

FrigidaireFPES3085KFProfessional30Slide-InElectricRange-StainlessSteel

Posted

Actually is that is exactly what I want. No spaces at all

Well, then =

Substitute ( HTML ; [ " " ; "" ] ; [ ¶ ; "" ] ; [ Char (10) ; "" ] )

should work for you.

Posted

Well, then =

Substitute ( HTML ; [ " " ; "" ] ; [ ¶ ; "" ] ; [ Char (10) ; "" ] )

should work for you.

I'm not sure this will eliminate double (or triple) spaces so the TRIMALL function might be useful if you think this might occur.

Substitute ( trimALL(HTML,1,3) ; [ ¶ ; "" ] ; [ Char (10) ; "" ])

This topic is 4802 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.