Using function outside

Can we store the function of string outside in text file and reading it as function

For example

Text =1,234
Output =text.replace(“,”,”@“)
Output=1234
Shall I keep this .replace(“,”,”@“) in text file and read the text file
Output=text+textfileoutput

Output=1234

Whether it will give the dedicated results
How we can achieve the same

we cannot bypasss compilation therefore we should not missmatch string and code

@Demo_User

that is not possible

if you still want to do that way …instead store as vbs file and invoke it

cheers