Quite simply put: there is no built in function that does the same thing as your code above.
Bonus content: More tag tricks
Quite simply put: there is no built in function that does the same thing as your code above.
Bonus content: More tag tricks