You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to puppet...@googlegroups.com
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
Martin Alfke
unread,
Sep 4, 2014, 5:28:47 AM9/4/14
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to puppet...@googlegroups.com
I assume that you can use the sprintf function (from Puppet core).