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...
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)