CutLeftNumber

Cuts the left part of string as long as it is number
Keeps getting characters one-by-one from left part of string until non-numeric character found.
Ignores space before or after numeric characters.
Edit 2024-07-17: Adding the dot . as acceptable number char
Edit 2024-08-10: Adding the sign - symbol

CodeFunctionName What is this?

Public

Tested

Original Work

Access is limited.

Login here using your Linkedin account. to see or download code.

No registration, not another password to remember, login using your Linkedin account and have access to all public codes in Mydev.net

Linkedin Login

StringWithNumber

Print CutLeftNumber("120px")
120

Print CutLeftNumber(" 32490 stars found today!")
32490

Views 369

Downloads 120

CodeID
DB ID