ਫਰਮਾ:Str startswith
ਇਹ ਫਰਮਾ ਹੇਠ ਲਿਖੇ ਲੂਆ ਨੂੰ ਵਰਤਦਾ ਹੈ: |
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| |}}
→
See also
ਸੋਧੋString-handling templates (help page) | |||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||
The above documentation is transcluded from ਫਰਮਾ:Str startswith/doc. (ਸੋਧੋ | ਅਤੀਤ)
Editors can experiment in this template's ਕੱਚਾ ਖ਼ਾਕਾ (ਬਣਾਓ | mirror) and testcases (ਬਣਾਓ) pages.
Add categories to the /doc subpage. Subpages of this template.
Editors can experiment in this template's ਕੱਚਾ ਖ਼ਾਕਾ (ਬਣਾਓ | mirror) and testcases (ਬਣਾਓ) pages.
Add categories to the /doc subpage. Subpages of this template.