G
Guest
I have develop a smart card device reading and writing program, but I am
facing a problem that when I read the value from the smart card, I get "A19\0
\0\0\0", (actually I have store the value A19 into the card from sector 17 to
sector 24, 8 bytes long), I try to use Trim () function to cut the
unnecessary variable to get back the value A19, but it seen that the \0 is
not an null character. I have tried to trim “\0â€, but it is not success too.
So what should I do to trim out the unnecessary character?
facing a problem that when I read the value from the smart card, I get "A19\0
\0\0\0", (actually I have store the value A19 into the card from sector 17 to
sector 24, 8 bytes long), I try to use Trim () function to cut the
unnecessary variable to get back the value A19, but it seen that the \0 is
not an null character. I have tried to trim “\0â€, but it is not success too.
So what should I do to trim out the unnecessary character?