doHighlight

Search for occurrences of a keyword in a string and highlight them, by either bold, italic or boli-italic
With some work, we can add bootstrap highlighting, or some other html colors

CodeFunctionName What is this?

Public

Tested

Imported

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

my_sentence, word_to_highlight, my_fn

response.write doHighlight("This is a test To find the word you, it will highlight your...", "you", "bi")

Views 4,369

Downloads 1,402

CodeID
DB ID

ANmarAmdeen
701
Attachments
Revisions

v1.0

Thursday
July
19
2018