Mercurial > hg
comparison hgext/patchbomb.py @ 21846:8f23f8096606
templater: introduce word function
This function allows returning only the nth "word" from a string. By default
a string is split as by Python's split() function default, but an optional
third parameter can also override what string the string is split by.
author | Ryan McElroy <rmcelroy@fb.com> |
---|---|
date | Thu, 12 Jun 2014 18:02:23 -0700 |
parents | 5f98ad8fb8d9 |
children | 122f5c3f3308 |
comparison
equal
deleted
inserted
replaced
21845:04f5b5e3792e | 21846:8f23f8096606 |
---|