Advertisement Jump to content

Archived

This topic is now archived and is closed to further replies.

Daishim

Get a hex string from a string.

This topic is 5889 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I''ve got a string of text with a hex string hidden somewhere within. How can I accurately filter out that hex string. It''s a string of several variables in hex, they are combined into one string so I just need to get the string. I''m doing this in VB, but a general explanation will suffice. Thanks.

I know only that which I know, but I do not know what I know.

Share this post


Link to post
Share on other sites
Advertisement
You want a /(0x[0-9A-Fa-f]+)/ ?

I have no clue how you do regexps in VB, or if it is possible at all. Look and see if you can find something for Regualar Expressions, and it will be a piece of cake.


Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!