Difference between revisions of "StripBrackets"

From Sega Retro

(Created page with "<includeonly>{{#vardefine:string|{{{1|}}}}}{{#while: |{{#vardefine:startBracket|{{#pos:{{#var:string}}|(}}}}{{#var:startBracket}} | {{#vardefine:startBracket|{{#pos:{{#var:str...")
 
 
(One intermediate revision by the same user not shown)
Line 9: Line 9:
 
Template for removing bracketed bits from strings.
 
Template for removing bracketed bits from strings.
  
<pre>{{RemoveBrackets|Things (remove) (this) more (noise) things}}</pre>
+
<pre>{{StripBrackets|Things (remove) (this) more (noise) things}}</pre>
  
{{RemoveBrackets|Things (remove) (this) more (noise) things}}
+
{{StripBrackets|Things (remove) (this) more (noise) things}}
 
[[Category:Sega Retro templates]]</noinclude>
 
[[Category:Sega Retro templates]]</noinclude>

Latest revision as of 17:26, 6 January 2020


Template for removing bracketed bits from strings.

{{StripBrackets|Things (remove) (this) more (noise) things}}

Things more things