const notIncludedChars = require('@sygn/not-included-characters');
const LOWER_ALPHAS = 'abcdefghijklmnopqrstuvwxyz';
// the first argument is the query, the second the 'included' characters
notIncludedChars(' finD nOt iNcluded charactErs! ', LOWER_ALPHAS).join('').trim();
// DONE!
// you can add a handler for handling type errors (see: message-events npm package)
notIncludedChars.onError(console.error);
Find characters in a string that do not occur in another string
License
phazelift/not-included-characters
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Find characters in a string that do not occur in another string
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published