Yep that would work, although I have already pushed out my regex method (for forum sections) that just works with the digits as I figure that's the safest bet for malformed urls.
Slice is actually my preferred choice, as regex is overkill for simple string manipulations.
But I want this to be as robust as possible since I've been burnt more than once. It doesn't matter what they omit from the URL now, as long there is comma separated numbers, I'll get the bits I need...
I hope
08-Nov-2015 17:02:44
- Last edited on
08-Nov-2015 17:05:27
by
Indecent Act