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.
10
10
<br>
11
11
<code>length</code> - is int. The length of the new string.
12
12
<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.
14
14
15
15
<h4>Example</h4>
16
16
<!-- 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.
10
10
<br>
11
11
<code>width</code> - is int. The length of the new string.
12
12
<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.
14
14
15
15
<h4>Example</h4>
16
16
<!-- Show example of function.-->
17
- <code>rpad('Hello', 10, 'x') → 'xxxxxHello '</code><br>
17
+ <code>rpad('Hello', 10, 'x') → 'Helloxxxxx '</code><br>
18
18
You can’t perform that action at this time.
0 commit comments