i have two example 

> 
> "hcg.com.ph?C402-10A-2012-06132017-22"
> 
> 
> "hcg.com.?C3032-1B-2012-06132017-1"
> 
> 
> 

output should be

> 
> hcg.com.ph?C402-10A-2012-06132017
> 
> 
> hcg.com.?C3032-1B-2012-06132017
> 
> 
> 

but i got 

> 
> hcg.com.ph?C402 and hcg.com.?C3032
> 
> 
> Dim FinalSplt() As String
>  Dim ItemBaseCode As String
> 
> 
> FinalSplt = value.ToString.Split("-")
> 
> 
> ItemBaseCode = FinalSplt(0)
> 
> 
> 

How to split in the last dash?