Another dumb question, but I can't find what I'm looking for. Does Puppet have a function that's equivalent to the substr() function in Perl? I want to truncate arbitrary strings to 7 chars but I can't see how to do this with any of the built-in functions or functions in stdlib.

e.g. substr('hello', 4) returns 'hell'

Thanks,
Jonathan

--
You received this message because you are subscribed to the Google Groups "Puppet 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/54082EBE.4020509%40bristol.ac.uk.
For more options, visit https://groups.google.com/d/optout.

Reply via email to