切换搜索
搜索
切换菜单
notifications
切换个人菜单
查看“模板:Replace/doc”的源代码
来自星际公民中文百科
查看
阅读
查看源代码
查看历史
associated-pages
模板
讨论
更多操作
←
模板:Replace/doc
因为以下原因,您没有权限编辑本页:
您请求的操作仅限属于该用户组的用户执行:确认用户
您可以查看和复制此页面的源代码。
{{Documentation}} ;Usage <code>{{t|replace |''string'' |''target'' |''replacement''|''count''}}</code> Returns ''string'' with the first ''n'' occurrences of ''target'' replaced with ''replacement''. Omitting <code>count</code> will replace all occurrences. ;Examples * <code><nowiki>{{replace |One two two three two four twotwo five |two |NINE}}</nowiki></code> → {{replace|One two two three two four twotwo five|two|NINE}} * <code><nowiki>{{replace |One two two three two four twotwo five |two |NINE |count=2}}</nowiki></code> → {{replace|One two two three two four twotwo five|two|NINE|count=2}} <includeonly> [[Category:String manipulation templates]] </includeonly>
本页使用的模板:
模板:Documentation
(
查看源代码
)
模板:Replace
(
查看源代码
)
模板:T
(
查看源代码
)
模板:T/piece
(
查看源代码
)
模块:Documentation
(
查看源代码
)
模块:String
(
查看源代码
)
返回
模板:Replace/doc
。
Debug data: