Quantcast
Channel: VBForums
Viewing all articles
Browse latest Browse all 42412

script format - remove double-quotos

$
0
0
Hi all,

I have a script that reads from a txt file and then insert rows into db. Recently, there was a need to remove double-quotos from specfic txt file column, and I did it. However, I need to confirm the format below...it seems like it is not working...

Code:

Dim valIdent_Org As String = Left(String.Format("{1}{0}{2}{0}{3}{0}{4}", _
                                                                        "|", _
                                                                        (line.GetValue(iDept_Name)).Replace("""", ""), _
                                                                        line.GetValue(iDivision_Name), _
                                                                        (line.GetValue(iPosition_Name)).Replace("""", ""), _
                                                                        (line.GetValue(iJob_Name)).Replace("""", "")), 128)


Viewing all articles
Browse latest Browse all 42412

Trending Articles