[FX.php List] Reading formatting

Joel Shapiro jsfmp at earthlink.net
Wed Jan 28 13:04:13 MST 2009


for example...cleaned up just like that :)   Nice Troy.

FYI- starting in FM7 or 8, you can use just one Substitute and  
multiple [ ] brackets:

Substitute (
GetAsCSS ( styledText )  ;
["<SPAN STYLE" ; "<span style"];
["</SPAN>" ; "</span>"];
["<BR>" ; "<br />"]
)

-Joel


On Jan 28, 2009, at 11:49 AM, Troy Meyers wrote:

> Steve,
>
> I just realized that's a custom function that I created. Here it is:
>
> GetAsXHTML(styledText) =
>
> Substitute (Substitute (Substitute (
> GetAsCSS ( styledText )
> ; "<SPAN STYLE" ; "<span style" )
> ; "</SPAN>" ; "</span>" )
> ; "<BR>" ; "<br />" )
>
> It's based on the GetAsCSS function that I think existed in  
> FileMaker 8
>
> -Troy
>
>
>> Hi Joel,
>>
>> Formatted in FMP, but then need to convert the FMP formatting into
>> HTML formatting... this is with FMSA 8/FMP 8
>>
>> Cheers
>>
>> Steve
>
> _______________________________________________
> FX.php_List mailing list
> FX.php_List at mail.iviking.org
> http://www.iviking.org/mailman/listinfo/fx.php_list



More information about the FX.php_List mailing list