[FX.php List] FileMaker's Return Character

Milos Vukotic milos at mcservices.com
Mon Oct 4 11:33:05 MDT 2004


I think you'll be ok with:

$values = preg_split('/([\r\n]+)/',$fieldContent,-1,PREG_SPLIT_NO_EMPTY);

If the order is not important.

Cheers,
-- 
Milos Vukotic
Software Engineer
MC Services
http://www.mcservices.com


Jason H.Awbrey wrote:

> Hello All,
>
> I am currently trying to parse out a field that holds return-delimited 
> values into an array. I was trying to use explode() but I can't figure 
> out what the character is that FileMaker outputs as the return to use 
> as the string separator. Does anyone on the list know what character I 
> can FM is using as the return? I tried copying the output and pasting 
> it into BBEdit and it looks like ASCII code 13 (\r) but that doesn't 
> seem to be working. Any help would be appreciated.
>
> Cheers,
> Jason H. Awbrey
>
>------------------------------------------------------------------------
>
>_______________________________________________
>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