RE: String manipulation problem

2003-03-14 Thread rbraswell
03 5:36 PM To: [EMAIL PROTECTED] Subject: Re: String manipulation problem [EMAIL PROTECTED] wrote: > Hi, > > While reading each line in a file, If I find a certain number, I need > to increment a digit within that number. For example, when reading > through my file, I expect t

Re: String manipulation problem

2003-03-12 Thread david
[EMAIL PROTECTED] wrote: > Hi, > > While reading each line in a file, If I find a certain number, I need to > increment a digit within that number. For example, when reading through my > file, I expect to find the following line. > > #define DS_FILEVERSION7,0,0,0462 > > What I want to d

Re: String manipulation problem

2003-03-12 Thread Rob Dixon
[EMAIL PROTECTED] wrote: > Hi, > > While reading each line in a file, If I find a certain number, I need > to increment a digit within that number. For example, when reading > through my file, I expect to find the following line. > > #define DS_FILEVERSION 7,0,0,0462 > > What I want to do is have t

RE: String manipulation problem

2003-03-12 Thread Bakken, Luke
> #define DS_FILEVERSION7,0,0,0462 > > What I want to do is have the ability to increment the first > two zero's > after the 7 on demand. I may accasionaly want to increment > the first zero, > making the number 7,1,0,0462, or a I may want to just > increment the second > zero, making t

RE: String manipulation problem

2003-03-12 Thread Hanson, Rob
27;, @nums); # returns the comma delimited nums } -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 12, 2003 10:14 AM To: [EMAIL PROTECTED] Subject: String manipulation problem Hi, While reading each line in a file, If I find a certain number,

String manipulation problem

2003-03-12 Thread rbraswell
Hi, While reading each line in a file, If I find a certain number, I need to increment a digit within that number. For example, when reading through my file, I expect to find the following line. #define DS_FILEVERSION 7,0,0,0462 What I want to do is have the ability to increment the first two