[ipxe-devel] add support for trimming whitespaces from strings

Thomas Mieslinger miesi at pc-h.de
Fri Nov 29 12:23:01 UTC 2013


On 29.11.13 12:16, Christian Hesse wrote:
> I would like to trim the trailing whitespaces. This is not possible yet, no?
> I added a new modifier "stringtrim". Using ${product:stringtrim} now results
> in just "Latitude E6500". Any comments?

This is a good idea, but is ${product:stringtrim:uristring} possible? Or 
do I need

p=${product:stringtrim}
${p:uristring}

Thomas



More information about the ipxe-devel mailing list