|
-
Jan 13th, 2000, 12:33 PM
#1
Thread Starter
Hyperactive Member
I am trying to write a Hex(string) to Dec(integer function). The thing is I dont know how to access individual characters from a string. E.G if the string was "9F"
I want to be able to access the "9" then the "f" e.g
firstletter= mystring(0)
secondletter = mystring(1)
but obviously this does`nt work
Help!! Any ideas anyone??
-
Jan 13th, 2000, 12:38 PM
#2
Use the Mid function to extract the individual characters.
------------------
Marty
-
Jan 13th, 2000, 05:31 PM
#3
Thread Starter
Hyperactive Member
Thanks mate, works a treat now.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|