MathInsideText

Return string after applying math to each number found inside the string.
Return a string after performing math calculations on all numbers found inside TxtString
TxtString example "something something of 344.9 while there was 45,44.9 not equal -499.7"
MathEq example "* -45"
Returns ...
"something something of -15520.5 while there was -204520.5 not equal 22486.5"
Because we did the math as                    "something something of 344.9*-45 while there was 45,44.9*-45 not equal -499.7 * -45"

This can be like MathInsideANString

Edit 2025-05-10: Add ability to hundle text with numbers only and no spaces.

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 Bold.codes

Linkedin Login

Parameters

TxtString, MathEq

Permanenet link

Statistics

Views 4

Downloads 0

IDs

CodeID
DB ID

Requirements

Codes Required 0

Similar Codes

Similar codes

By Developer

Recent 4 by ANmarAmdeen 4

Random Codes

Random Codes 4