Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
sfabriece authored and denobot committed Jan 31, 2021
1 parent 7c63c89 commit 05fc1a8
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions strings/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@ Basic usage:

```ts
import { pad } from "https://deno.land/std/strings/pad.ts";
pad("deno", 6, { char: "*", side: "left" }) // output : "**deno"
pad("deno", 6, { char: "*", side: "right"}) // output : "deno**"
pad("denosorusrex", 6 {
char: "*",
side: "left",
strict: true,
strictSide: "right",
strictChar: "..."
}) // output : "den..."
pad("deno", 6, { char: "*", side: "left" }); // output : "**deno"
pad("deno", 6, { char: "*", side: "right" }); // output : "deno**"
pad("denosorusrex", 6, {
char: "*",
side: "left",
strict: true,
strictSide: "right",
strictChar: "..."
}); // output : "den..."
```

0 comments on commit 05fc1a8

Please sign in to comment.