![]() | 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.
{{Str startswith|foo (bar)|foo}}
→ yes{{Str startswith|foo|bar}}
→ {{Str startswith|(bar)|foo (bar)}}
→ {{Str startswith|foo bar | foo }}
→ yesBorder cases:
{{Str startswith}}
→ {{Str startswith||}}
→ {{Str startswith|| }}
→ {{Str startswith| |}}
→ © MMXXIII Rich X Search. We shall prevail. All rights reserved. Rich X Search