[PD] What's the easiest way to cut various symbols to a fixed length?

IOhannes m zmoelnig zmoelnig at iem.at
Wed Nov 13 11:35:22 CET 2019


On 13.11.19 09:36, Ingo wrote:
> First of all thank you, Winfried and Tim!
> 
> I ended up picking Tim's version with [list fromsymbol], [list split] and 
> [list tosymbol] because it needs less objects.
> Works perfectly!


i'm late to the party, but my 4-object solution would be:

|
[t b s]
|     |
|     [list fromsymbol]
| +---+
|/
[repack 10] (zexy)
|
[list tosymbol]
|

> 
> However, I had to add a [iemlib/mergefilename _] to eliminate blank spaces in 
> some names.
> In order to change the names to work with [mergefilename] and [ list 
> fromsymbol] I had to convert a few times with [s2l] and [l2s].
> The underscores are converted to spaces again right before going to the LCD 
> display.
> 

what are you trying to achieve? remove leading whitespace from lines? or
soemthing else?

fgmasdr
IOhannes

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20191113/90f03a06/attachment.sig>


More information about the Pd-list mailing list