Redmine#3454: simple text manipulation functions
Merge pull request #1021 from tzz/feature/3454-text-manipulation-functions

Redmine#3454: simple text manipulation functions
Redmine#3279: nth() function made data container aware
Redmine#3279: acceptance test for data container aware nth() function.