Updated test cases to detect a bug. When no format is specified in template then template should be returned.
Updated test cases to detect a bug.
When no format is specified in template then
template should be returned.

Current code returns empty string

sevensc/typescript-string-operations,sevensc/typescript-string-operations