Skip to content

Commit

Permalink
docs: fix typo in trim documentation (#302)
Browse files Browse the repository at this point in the history
  • Loading branch information
raphaelpra authored Jun 26, 2023
1 parent 23db98d commit b50d64a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/string/trim.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import { trim } from 'radash'

trim(' hello ') // => hello
trim('__hello__', '_') // => hello
trim('/repos/:owner/', '/') // => repos/:owner/
trim('/repos/:owner/', '/') // => repos/:owner
```

Trim also handles more than one character to trim.
Expand Down

1 comment on commit b50d64a

@vercel
Copy link

@vercel vercel bot commented on b50d64a Jun 26, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.