[chuck-users] Strings
joerg piringer
joerg at piringer.net
Fri Jun 16 06:38:24 EDT 2006
hi spencer,
yes, new strings please!
i'd need:
concat, mid, left, right
[]
etc.
if there's need i could provide some ideas & code.
best
joerg
Spencer Salazar wrote:
> Hey there Ollie,
> Looks like ChucK doesnt accept \" as an escaped character in
> strings... we are planning on having totally revamped string support
> within the next release or two, so hopefully that can be patched up
> by then.
>
> Also, the spaces thing should probably be resolved when we release
> the new file I/O API, which I believe is on its way into an upcoming
> release.
>
> spencer
>
> On Jun 12, 2006, at 3:07 PM, Ollie Glass wrote:
>
>> I'm trying to print this xml string from chuck:
>>
>> <step step="3" cycle="0" >
>>
>> What I get, when I use this code:
>> <<< "<step step=\"", step ,"\" cycle=\"", cycle, "\" >" >>>;
>>
>> is this:
>> <step step=\" 3 \" cycle=\" 0 \" >
>>
>> Spaces and escape characters abound! Could someone help me with this?
>>
>> Cheers,
>>
>> Ollie
>> _______________________________________________
>> chuck-users mailing list
>> chuck-users at lists.cs.princeton.edu
>> https://lists.cs.princeton.edu/mailman/listinfo/chuck-users
>
> _______________________________________________
> chuck-users mailing list
> chuck-users at lists.cs.princeton.edu
> https://lists.cs.princeton.edu/mailman/listinfo/chuck-users
--
http://joerg.piringer.net
http://www.transacoustic-research.com
http://www.iftaf.org
http://www.vegetableorchestra.org/
More information about the chuck-users
mailing list