friskee
asked on
Separate a droplist value
I have a value that looks like this 2002-2003 when I select it from a drop down list.
when I select it from the ddlist it's value and text look like the above.
Is there a way to "separate" the value above so that I can have a start year of 2002 and an end year of 2003?
Thanks
when I select it from the ddlist it's value and text look like the above.
Is there a way to "separate" the value above so that I can have a start year of 2002 and an end year of 2003?
Thanks
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Dim dtBegin As String = str.Substring(0, 4)
Dim dtEnd As String = str.Substring(5, 4)
Thanks!