dcx693
Registered User.
- Local time
- Today, 15:20
- Joined
- Apr 30, 2003
- Messages
- 3,263
OK, I think we need to change the approach a bit to accommodate this.
Since all entries will have a space character between the text part of the topic and the numeric portion, we can use the space character to find the numeric portion, add leading zeroes and marry it back to the text portion. If the text portion is "General", we replace it with "_", otherwise, we leave it alone.
Do you want to take a crack at it? You can use the Instr() function to determine where within a string a character can be found. For example:
Instr(1,"General 12"," ")
would return 8.
Since all entries will have a space character between the text part of the topic and the numeric portion, we can use the space character to find the numeric portion, add leading zeroes and marry it back to the text portion. If the text portion is "General", we replace it with "_", otherwise, we leave it alone.
Do you want to take a crack at it? You can use the Instr() function to determine where within a string a character can be found. For example:
Instr(1,"General 12"," ")
would return 8.