"سانچہ:Str startswith" کے نسخوں کے درمیان فرق
Appearance
ur>Wikivahdat Trim parameters before passing to module as described by the documentation |
م 1 نسخہ درآمد کیا گیا |
(کوئی فرق نہیں)
| |
حالیہ نسخہ بمطابق 09:26، 4 دسمبر 2022ء
| فائل:Lua-Logo.svg | This template uses Lua: |
This is the {{Str startswith}} meta-template.
It returns "yes" if the second parameter is the start of the first parameter. Both parameters are trimmed before use.
Examples
{{Str startswith|foo (bar)|foo}}→ yes{{Str startswith|foo|bar}}→{{Str startswith|(bar)|foo (bar)}}→{{Str startswith|foo bar | foo }}→ yes
Border cases:
{{Str startswith}}→{{Str startswith||}}→{{Str startswith|| }}→{{Str startswith| |}}→