Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Reading in from a file with NULL characters

Status
Not open for further replies.

thekl0wn

Programmer
Jan 12, 2006
292
US
Here's my dilemma: I'm trying to read in a portion of a file into a string, BUT the portion I want to read into the string is NULL character delimited! I know PB uses a null-termination on strings, so the string is set to NULL soon as the string encounters its first delimiter!

I know I can use FileReadEx into a blob, but I'm having all kinds of issues with this simple parsing! Anyone have any suggestions?

PB 10.5
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top