subpaymentref
finalpaymentref
if the initial value of dr("tran_particular")='BCL/BC/NWSC/NWSC/18-May-2012/000001'
subpaymentref = dr("tran_particular")
finalpaymentref = subpaymentref.Substring(13, 50)
i have tried to use the substring function to format subpaymentref variable to produce a formatted string as below
'NWSC/18-May-2012/000001' but the final value of finalpaymentref is still 'BCL/BC/NWSC/NWSC/18-May-2012/000001'
Is the subtring function wrong?
Attached File(s)
-
str code.txt (2.52K)
Number of downloads: 22

New Topic/Question
Reply



MultiQuote





|