Шаблон:Стр ендсwитх/док
< Шаблон:Str endswithОво је најновија верзија ове странице; нема одобрених измена.
Пређи на навигацију
Пређи на претрагу
Lua error: Cannot create process: proc_open(/dev/null): failed to open stream: Operation not permitted Lua error: Cannot create process: proc_open(/dev/null): failed to open stream: Operation not permitted
This is the {{str endswith}} meta-template.
It returns "yes" if the first parameter ends with the second parameter. Both parameters are trimmed before use.
Examples
{{str endswith|foo (bar)|(bar)}}
→ Lua error: Cannot create process: proc_open(/dev/null): failed to open stream: Operation not permitted{{str endswith|foo|bar}}
→ Lua error: Cannot create process: proc_open(/dev/null): failed to open stream: Operation not permitted{{str endswith|(bar)|foo (bar)}}
→ Lua error: Cannot create process: proc_open(/dev/null): failed to open stream: Operation not permitted{{str endswith|foo bar | bar}}
→ Lua error: Cannot create process: proc_open(/dev/null): failed to open stream: Operation not permitted
- border cases
{{str endswith}}
→ Lua error: Cannot create process: proc_open(/dev/null): failed to open stream: Operation not permitted{{str endswith||}}
→ Lua error: Cannot create process: proc_open(/dev/null): failed to open stream: Operation not permitted{{str endswith|| }}
→ Lua error: Cannot create process: proc_open(/dev/null): failed to open stream: Operation not permitted{{str endswith| |}}
→ Lua error: Cannot create process: proc_open(/dev/null): failed to open stream: Operation not permitted
See also
Lua error: Cannot create process: proc_open(/dev/null): failed to open stream: Operation not permitted