File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -10,8 +10,8 @@ using the fill character.
1010<br>
1111<code>length</code> - is int. The length of the new string.
1212<br>
13- <code>fill</code> - is char. The character to padd the remaining space with.
13+ <code>fill</code> - is char. The character to pad the remaining space with.
1414
1515<h4>Example</h4>
1616<!-- Show example of function.-->
17- <code>lpad('Hello', 10, 'x') → 'Helloxxxxx '</code><br>
17+ <code>lpad('Hello', 10, 'x') → 'xxxxxHello '</code><br>
Original file line number Diff line number Diff line change @@ -10,9 +10,9 @@ using the fill character.
1010<br>
1111<code>width</code> - is int. The length of the new string.
1212<br>
13- <code>fill</code> - is char. The character to padd the remaining space with.
13+ <code>fill</code> - is char. The character to pad the remaining space with.
1414
1515<h4>Example</h4>
1616<!-- Show example of function.-->
17- <code>rpad('Hello', 10, 'x') → 'xxxxxHello '</code><br>
17+ <code>rpad('Hello', 10, 'x') → 'Helloxxxxx '</code><br>
1818
You can’t perform that action at this time.
0 commit comments