diff options
Diffstat (limited to 'std/strings/README.md')
-rw-r--r-- | std/strings/README.md | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/std/strings/README.md b/std/strings/README.md deleted file mode 100644 index 43be553b8..000000000 --- a/std/strings/README.md +++ /dev/null @@ -1,26 +0,0 @@ -# Strings - -This module provides a few basic utilities to manipulate strings. - -## Usage - -### pad - -Input string is processed to output a string with a minimal length. If the -parameter `strict` is set to true, the output string length is equal to the -`strLen` parameter. - -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..." -``` |