WOLFRAM SYSTEM MODELER
repeatRepeat a string n times |
SystemModel["Modelica.Utilities.Strings.repeat"]
This information is part of the Modelica Standard Library maintained by the Modelica Association.
string2 = Strings.repeat(n); string2 = Strings.repeat(n, string=" ");
The first form returns a string consisting of n blanks.
The second form returns a string consisting of n substrings defined by the optional argument "string".
n |
Default Value: 1 Type: Integer Description: Number of occurrences |
---|---|
string |
Default Value: " " Type: String Description: String that is repeated |
repeatedString |
Type: String Description: String containing n concatenated strings |
---|