M
Mike
What I am doing is this:
For a primary key in one of my tables, I am using the
current year. So, what I do is take the Year(Now) value
and put into a string. However, I am not interesting in
the entire "2004", I am only interested in the "04". Is
there anyway I can take a string and extract the last two
characters from it?
For example:
strString = str(Year(Now))
'strString = "2004"
newString = SomeFunction(strString, 2)
'newString = "04"
Any help would be appreciated.
For a primary key in one of my tables, I am using the
current year. So, what I do is take the Year(Now) value
and put into a string. However, I am not interesting in
the entire "2004", I am only interested in the "04". Is
there anyway I can take a string and extract the last two
characters from it?
For example:
strString = str(Year(Now))
'strString = "2004"
newString = SomeFunction(strString, 2)
'newString = "04"
Any help would be appreciated.