Editing Template:Replace/doc
From Guild of Archivists
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 14: | Line 14: | ||
* <code><nowiki>{{replace|One-two two-three two-four twotwo-five|-|—}}</nowiki></code> → {{replace|One-two two-three two-four twotwo-five|-|—}} | * <code><nowiki>{{replace|One-two two-three two-four twotwo-five|-|—}}</nowiki></code> → {{replace|One-two two-three two-four twotwo-five|-|—}} | ||
* <code><nowiki>{{replace|One-two two-three two-four twotwo-five|- |—}}</nowiki></code> → {{replace|One-two two-three two-four twotwo-five|- |—}} | * <code><nowiki>{{replace|One-two two-three two-four twotwo-five|- |—}}</nowiki></code> → {{replace|One-two two-three two-four twotwo-five|- |—}} | ||
</includeonly> | |||
===See also=== | |||
* {{tl|str rep}}, which replaces only the first occurrence of a string. | |||
{{String-handling templates |IRL}} | |||
<includeonly>{{Sandbox other|| | |||
<!----CATEGORIES BELOW THIS LINE, PLEASE:----> | |||
[[Category:String manipulation templates]] | |||
}}</includeonly> |