Need a little VB6 code assistance.
I need to take a string variable and search for the word "fine" in it, and if it's there, replace the word "fine" with "Fine: x Gold" where x is a randomly rolled number I can determine myself when the code is complete, and will already be determined in the program before this code is run. Then it should reduce the person's Gold by x, ONLY if the word "fine" (no quotation marks) was present in the string.
Would appreciate code samples or completed code for testing purposes before payment, if possible. Thanks for any and all bids!
1) Complete and fully-functional source code that performs action above.
2) Full ownership of code.
Windows, VB 6 (SP5)