.trim() functionality
See original GitHub issueHi)
Would be great to have .trim()
function in validation, like Yup has
Or is there another way in nope-validator to do it right now?
Issue Analytics
- State:
- Created a year ago
- Comments:8 (4 by maintainers)
Top Results From Across the Web
trim() Function - Rocket Software
The trim() function removes leading, trailing, and/or redundant characters from a string. ... If only one parameter is specified, trim() removes all leading...
Read more >String.prototype.trim() - JavaScript - MDN Web Docs
The trim() method removes whitespace from both ends of a string and returns a new string, without modifying the original string.
Read more >TRIM( ) function - HighBond
TRIM ( ) function. Returns a string with trailing spaces removed from the input string. On this page.
Read more >TRIM function
TRIM is a function that takes a character expression and returns that expression with leading and/or trailing pad characters removed.
Read more >PHP trim() Function - W3Schools
The trim() function removes whitespace and other predefined characters from both sides of a string. Related functions: ltrim() - Removes whitespace or other ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
From now on, @TolyaDeveloper you’re able to use the
.trim()
method onString
based classes.I will update the documentation in the Wiki later.
Please, update your package version to
^1.0.3
or@latest
and everything should be there.I created also an example
repl-it
to show exactly how to use it: https://replit.com/@ftonato/nope-validator103#index.js@ftonato, thanks 👌