[PD] string padding

Jack jack at rybn.org
Sun Dec 16 22:15:04 CET 2007

Is it the best method ? I'm not sure.
Is it what you are looking for ?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: addsmthg.pd
Type: application/octet-stream
Size: 1150 bytes
Desc: not available
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20071216/934bb89c/attachment.obj>
-------------- next part --------------

Le 16 d?c. 07 ? 20:54, Andy Graybeal a ?crit :

> greetings
> i'd like to pad a string... say for instance i want to pad the string
> "andy" and "ian" to be able to have a total of 10 characters, and the
> padding character will be an underscore.  so the end result would  
> add 6
> underscores to the string "andy" and seven underscores to the string
> "ian":
> "andy______"
> "ian_______"
> i poked around through extended and did a search on the list  
> archives for
> "character pad" and "string pad", nothing came up in the archives,  
> and the
> only things i found in extended are mrpeach's [str] help examples, and
> moocow's [string2any], [any2string] help examples.  it looks like
> mrpeach's stuff is the closest to what i want, but i don't think  
> it's what
> i want.  after tofofmtl introduced me to pdmtl, i expected there  
> would be
> some string handling in to coincide with the list stuff they have  
> too, but
> nothing there.
> thanks,
> andy
> _______________________________________________
> PD-list at iem.at mailing list
> UNSUBSCRIBE and account-management -> http://lists.puredata.info/ 
> listinfo/pd-list

More information about the Pd-list mailing list