PDA

View Full Version : Separating Numbers


ali68
Oct 25, 2007, 04:52 PM
Hi,

How can separate this A7BD Hex value to those A7 and BD in VB6.

Thanks

Duane in Japan
Oct 29, 2007, 05:50 AM
You have alphanumeric data, do some research on SubString in MSDN Database for vb6 needs, I looked around but it did not seem to fit easily, what the examples were, they were complicated I would say and not exactly what you were looking for exactly, it has to be easier than this. String split is also an area for research.

ScottGem
Oct 29, 2007, 05:52 AM
What arre you trying to accomplish. A number in hex is stored as text not a number. So the Left and Right functions should be able to parse it.