Hi, Im new to VB6 programming and wanted to know how i would use a similar function like the sql server substring in vb6.
what i want to do is scan a text file in coloumns 19-20 and if it contains the value '10', carry out a specific command. If it doesnt i want to run anothet piece of code.
Can anyone help?
This is what i usually do in sql server...
if substring(ots,19,2) = '10' then
what i want to do is scan a text file in coloumns 19-20 and if it contains the value '10', carry out a specific command. If it doesnt i want to run anothet piece of code.
Can anyone help?
This is what i usually do in sql server...
if substring(ots,19,2) = '10' then