strtr_ctx - Translate substrings.
strtr_ctx(str,pairs)
in: res=<{strtr_ctx("hello world, hi hhh",{"h":"-","hi":"hello","hello":"hi"})}>. out: res=hi world, hello ---.
{{ include("includes/strings.sn") }}
Written by Pusnei Sergey, <sergey@sednove.com>
1.0 2014-09-09 21:24:14 laplante@sednove.com
Edit© 2024 extenso Inc. All rights reserved.