I want to use "*" or "\" as mathematical operators as such:
"I am going to clarify"
dim tbox as textbox
tbox.text = "*"
dim i as integer = 8 tbox.text 3
"End Clarify"
dim [mult] as string = "*"
dim [div] as string = "\"
dim i as integer = 8 [mult] 3
and the result would be i is equal to 24
or
dim i as integer = 8 [div] 2
and the result would be i is equal to 4
Can anyone solve this in one line without building a long, complex function? I would also like for this to be something that is already a part of the VB.NET structure and doesn't require an import.
If such a solution does not exist how do I do it with a function or .dll import?