Mercurial Hosting > luan
comparison website/src/manual.html.luan @ 1718:5603ee8e2a71
rename String.rep to String.repeated
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Mon, 25 Jul 2022 11:32:05 -0600 |
parents | c637a2a1023d |
children | 2f3a8f16f583 |
comparison
equal
deleted
inserted
replaced
1717:c637a2a1023d | 1718:5603ee8e2a71 |
---|---|
2672 Returns a string which matches the literal string <code>s</code> in a regular expression. This function is simply the Java method <a href="http://docs.oracle.com/javase/7/docs/api/java/util/regex/Pattern.html#quote(java.lang.String)"><code>Pattern.quote</code></a>. | 2672 Returns a string which matches the literal string <code>s</code> in a regular expression. This function is simply the Java method <a href="http://docs.oracle.com/javase/7/docs/api/java/util/regex/Pattern.html#quote(java.lang.String)"><code>Pattern.quote</code></a>. |
2673 </p> | 2673 </p> |
2674 <% | 2674 <% |
2675 end | 2675 end |
2676 } | 2676 } |
2677 ["String.rep"] = { | 2677 ["String.repeated"] = { |
2678 title = "<code>String.rep (s, n [, sep])</code>" | 2678 title = "<code>String.repeated (s, n [, sep])</code>" |
2679 content = function() | 2679 content = function() |
2680 %> | 2680 %> |
2681 <p> | 2681 <p> |
2682 Returns a string that is the concatenation of <code>n</code> copies of | 2682 Returns a string that is the concatenation of <code>n</code> copies of |
2683 the string <code>s</code> separated by the string <code>sep</code>. | 2683 the string <code>s</code> separated by the string <code>sep</code>. |