Skip to content

feat(string): add onlyDigits and isNumeric#182

Open
rrbharath wants to merge 1 commit into
simc:masterfrom
rrbharath:feat/additional-string-extensions
Open

feat(string): add onlyDigits and isNumeric#182
rrbharath wants to merge 1 commit into
simc:masterfrom
rrbharath:feat/additional-string-extensions

Conversation

@rrbharath
Copy link
Copy Markdown

Add new methods isNumeric and onlyDigits to String class

isNumeric checks if the string can be parsed as a number

onlyDigits returns only numerical values from a string

Tests included

Addresses issue: #181

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant