If i have a string that is
string Text="@Time:08:30PM,@Date:08/30/2015,@Duration:4,"
How would one go about extracting each of those starting with "@" and ending with the ",". I've searched and I've seen people get one pair with substring, but not how I need it. I want to say:
string Time = "08:30PM" //However i can extract it from that string
string Date = "08/30/2015" //etc...
Could it be done with Regex?
Thanks!
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire