In VB, I believe the function im looking for is "replace(string, find, replace)"
Is this function in any of the includes I can't seem to find it? If its not.
How would I go about doing this?
Cheers
There is a replace procedure in the masm32 library. Ensure you understand how to allocate enough memory for the output buffer if your replacement is larger than the target text.
I cannot seem to locate any replace function, perhaps I have an outdated version of masm32.inc?
szappend PROTO :DWORD,:DWORD,:DWORD
szCatStr PROTO :DWORD,:DWORD
szCmp PROTO :DWORD,:DWORD
szCmpi PROTO :DWORD,:DWORD,:DWORD
szCopy PROTO :DWORD,:DWORD
szLeft PROTO :DWORD,:DWORD,:DWORD
szLen PROTO :DWORD
szLower PROTO :DWORD
szLtrim PROTO :DWORD,:DWORD
szMid PROTO :DWORD,:DWORD,:DWORD,:DWORD
szMultiCat PROTO C :DWORD,:DWORD,:VARARG
szRemove PROTO :DWORD,:DWORD,:DWORD
szRev PROTO :DWORD,:DWORD
szRight PROTO :DWORD,:DWORD,:DWORD
szRtrim PROTO :DWORD,:DWORD
szTrim PROTO :DWORD
szUpper PROTO :DWORD
I would imagine so, version 9.0 of masm32 has a module that is documented in the masmlib help file with a matching library module and an include file. The module dates 11/30/2005.