Find/Edit a string/strings when read a file as binary?


I am trying to read and remove a string with a binary file.
In this example,
1.max file does not contain a string “Test_String”


Test_String.max file contain a string “Test_String”


My question is,how do I use maxscript to operate (remove or edit) the string - “Test_String” of Test_String.max like the file 1.max with binary reading?

I attached the max file for test,thanks all! (26.1 KB)