ข้ามไปเนื้อหา

แม่แบบ:Str rep

จากวิกิพีเดีย สารานุกรมเสรี

{{{1}}}

Documentation icon คู่มือการใช้งานแม่แบบ[ดู] [แก้] [ประวัติ] [ล้างแคช]

Usage[แก้]

{{Str rep|<string>|<find>|<replacewith>}}

Returns <string> with the first occurrence of <find> replaced with <replacewith>.

Example[แก้]

  • {{str rep|Dogs chase cats|chase|love}} = Dogs love cats

See also[แก้]

  • {{Replace}} - to replace all occurrences. (Lua based)