[FX.php List] FileMaker's Return Character

Jason H.Awbrey jason at stravinsoft.com
Mon Oct 4 16:17:05 MDT 2004


Hi Milos,

That was exactly what I needed. Thanks!

Best regards,
Jason H. Awbrey
StravinSOFT, Incorporated
http://www.stravinsoft.com


On Oct 4, 2004, at 12:33 PM, Milos Vukotic wrote:

> 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
>>
>
> _______________________________________________
> 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