Difference between revisions of "Manuals/calci/DUPLICATE"
Jump to navigation
Jump to search
(Created page with "<div style="font-size:30px">'''DUPLICATE(Thing,Times,BreakEvery,Delimiter)'''</div><br/> *<math>Thing</math> is the text or number or array that needs to be duplicated *<math...") |
|||
| Line 1: | Line 1: | ||
| − | <div style="font-size:30px">'''DUPLICATE(Thing,Times,BreakEvery,Delimiter)'''</div><br/> | + | <div style="font-size:30px">'''DUPLICATE (Thing,Times,BreakEvery,Delimiter) '''</div><br/> |
*<math>Thing</math> is the text or number or array that needs to be duplicated | *<math>Thing</math> is the text or number or array that needs to be duplicated | ||
*<math>Times</math> is the number of times to duplicate | *<math>Times</math> is the number of times to duplicate | ||
Latest revision as of 14:06, 9 August 2018
DUPLICATE (Thing,Times,BreakEvery,Delimiter)
- Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle Thing} is the text or number or array that needs to be duplicated
- Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle Times} is the number of times to duplicate
- Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle BreakEvery} is the point at which the string or array breaks
- Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle Delimiter} is the text or number or character that follows every number
Description
- This function is used to duplicate the string or text for mentioned number of times.
- The text can be broken at specific count.
- Argument Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle Thing} can be text, numbers, or any special characters like @,&...
- Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle Times} is the number greater than zero. If not specified, '1' is considered as default.
Examples
- DUPLICATE("DUPLICATE")=DUPLICATEDUPLICATE
- DUPLICATE(5,8)=55555555
- DUPLICATE(3,8,2)=33 33 33 33
- DUPLICATE(3,8,2,"$")=3$3$ 3$3$ 3$3$ 3$3$
Related Videos
See Also
References