ok i am trying to do something pretty simple.
I have a text file loading into a text box which looks like this:
Code:
define = _obfuscate_CSBmAn9z
defined = _obfuscate_XGkLCg47bQÿÿ
str_replace = _obfuscate_aAFqNWoGfQ87Pjg
error_reporting = _obfuscate_bShjLzcWFHZ5H2ZgAQ08
header = _obfuscate_d1x0cApj
substr = _obfuscate_c2ssCnw1
etc...
Then I have an array splitting it at the "=" so the output looks like this
Code:
define
_obfuscate_CSBmAn9z
defined
_obfuscate_XGkLCg47bQ��
str_replace
_obfuscate_aAFqNWoGfQ87Pjg
error_reporting
_obfuscate_bShjLzcWFHZ5H2ZgAQ08
header
_obfuscate_d1x0cApj
substr
_obfuscate_c2ssCnw1
etc...
what i would like to do is make a line of code generator.
I need it to generate this line of code
Code:
me.textbox2.text = replace("define"," _obfuscate_CSBmAn9z")
but i need it to generate for each set. i already have it in an array and when i try it, it comes out like
Code:
Me.TextBox2.Text = Replace("","define "
Me.TextBox2.Text = Replace(""," _obfuscate_CSBmAn9z
defined "
Me.TextBox2.Text = Replace(""," _obfuscate_XGkLCg47bQ��
str_replace "
Me.TextBox2.Text = Replace(""," _obfuscate_aAFqNWoGfQ87Pjg
error_reporting "
Me.TextBox2.Text = Replace(""," _obfuscate_bShjLzcWFHZ5H2ZgAQ08
header "
Me.TextBox2.Text = Replace(""," _obfuscate_d1x0cApj
substr "
etc...
the problem is that the first entry is going to the end of the line and not in between the first set of quotation marks