excel - Preapre string with special characters -


i taking columns names excel sheet , 1 of column names getting follows:

recorded by" & vblf & "fo staff 

for excel columns names have list in program reflect in excel check if match or not. column giving me mentioned string. problem don't know how prepare string have same text comparison. saying how prepare string string shown above? if possible explanation.

edit: didn't mentioned 1 thing. store reflected values in xml config file. serialize columns names (the same column values in excel). program deserialize xml file , load array of items. array compared array of excel columns comming directly excel.

to exact string in question, need double double quotes:

dim coltext = "recorded by"" & vblf & ""fo staff" 

edit:

it's not elegant, remove double quotes deserialised string:

coltext.replace("""""", """") 

Comments

Popular posts from this blog

Command prompt result in label. Python 2.7 -

javascript - How do I use URL parameters to change link href on page? -

amazon web services - AWS Route53 Trying To Get Site To Resolve To www -