NumberBeforeString

Cuts a number that would be found before certain word inside a block string.
This is used to read number from webpage, like the number that would be found before the word "employees".
It will keep searching until it finds a number that is right before that word.
So far, it uses the space as a separator between the word and the letter.

Edit 2024-02-14: Adding ability to search for other forms of space, HTML spaces like xa0, nbsp, 160
Edit 2024-12-26: Fixing issue when item found is 1st char.

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

FindText, InString, Optional SepaS = " "

Views 468

Downloads 113

CodeID
DB ID