Hi,
I have a StatusStrip and is filled with Year in the format say "June2009 - May2010".
I want to get the years from this string like 2009,2010 from the above string.
Please suggest how can i do this.
I have tried this but not able to further separate June2009.
Please have a look
Can anyone help of how to get 2009 and 2010 from the string
I have a StatusStrip and is filled with Year in the format say "June2009 - May2010".
I want to get the years from this string like 2009,2010 from the above string.
Please suggest how can i do this.
I have tried this but not able to further separate June2009.
Please have a look
Code:
Dim strYearDet As String() strYear11, strYear2 As String strYearDet = StatusStrip1.Items(0).Text.Split("-") strYear11 = strYearDet(0) strYear2 = strYearDet(1)
Comment