Template:String-handling templates: Difference between revisions
From Zoophilia Wiki
Jump to navigationJump to search
meta>Sardanaphalus Undid revision 639172069 by Sardanaphalus (talk) |
meta>Sardanaphalus added {{repeat}} |
||
Line 78: | Line 78: | ||
|col1style=text-align:right;white-space:nowrap;padding-right:0.75em; |col2style=font-style:italic; | |col1style=text-align:right;white-space:nowrap;padding-right:0.75em; |col2style=font-style:italic; | ||
| {{tl|strloc insert}} | Inserts a string at character location strloc, or appends if strloc<{{=}}0. | | {{tl|strloc insert}} | Inserts a string at character location strloc, or appends if strloc<{{=}}0. | ||
| {{tl|loop}} | Repeat character string | | {{tl|loop}} | Repeat character string a specified number of times. | ||
| {{tl|repeat}} | Repeat a string a specified number of times. | |||
| {{tl|replace}} | Returns the string, after replacing ''all'' occurrences of a specified string with another string. | | {{tl|replace}} | Returns the string, after replacing ''all'' occurrences of a specified string with another string. | ||
| {{tl|str rep}} | Returns the string, after replacing the first occurrence of a specified string with another string. | | {{tl|str rep}} | Returns the string, after replacing the first occurrence of a specified string with another string. |