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:
Is it the best method ? I'm not sure.
Is it what you are looking for ?
++
Jack
addsmthg.pd
Description: Binary data
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
moin Andy,
This is quite easy using [string2any] and [any2string] together with
pd's [list] operations. see attached example patch. I'm sure the same
basic idea can be used to pad [str] strings as well...
marmosets,
Bryan
On 2007-12-16 20:54:20, Andy Graybeal [EMAIL PROTECTED]
appears
wow, thank you :)
I've never used [s2l], [list-len], [Uzi], [last-x], [Append], or [prepend
set] . lots of new goodies to look at!
thanks alot, this looks like exactly what i wanted. i will now meditate
on the patch for some time.
-andy
Is it the best method ? I'm not sure.
Is it what
thank you! iiinterressstinngg
even more too meditate on, thanks bryan (i see your name everytime i start
PD btw)
-andy
moin Andy,
This is quite easy using [string2any] and [any2string] together with
pd's [list] operations. see attached example patch. I'm sure the same
basic idea
Hallo,
Andy Graybeal hat gesagt: // Andy Graybeal wrote:
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