Thanks, that worked perfectly!

Antonio

On 11 November 2012 20:26, Jonathan Wilkes <[email protected]> wrote:
> Pd automatically interprets the spaces as delimiters for
> atoms, so you can use [list split 1] in a recursive loop
> (or iterative loop using [until] if the lines are really long,
> like hundreds of words), to split the line into a bunch
> of atoms.
>
> Or send the line of text to:
> [list-abs/list-drip]
> from the list-abs library
> to split out into floats and symbols
> automatically.
>
> -Jonathan
>
>
>
>
> ----- Original Message -----
>> From: Antonio Roberts <[email protected]>
>> To: PD List <[email protected]>
>> Cc:
>> Sent: Sunday, November 11, 2012 3:14 PM
>> Subject: [PD] Read individual words from a text file
>>
>> Is there a way to read individual words from a text file? I've tried
>> using [msgfile] and [textfile] but they can only read lines. I know
>> that you can define a carriage return as a delimiter but is there a
>> way to use a space as one?
>>
>> Thanks
>>
>> Antonio
>>
>> --
>> ============================
>> [email protected]
>> http://www.hellocatfood.com
>> ============================
>>
>> _______________________________________________
>> [email protected] mailing list
>> UNSUBSCRIBE and account-management ->
>> http://lists.puredata.info/listinfo/pd-list
>>



-- 
============================
[email protected]
http://www.hellocatfood.com
============================

_______________________________________________
[email protected] mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list

Reply via email to