I have a set of data where each item has a 'range from' and 'range to' string of varying types. For example the first item might have 3001A -> 4000A and the next item might be DE25500 -> DE27419 and so on (with several different patterns but usually consisting of a static section and a range section (it seems that usually any letter is static and numbers can either be static or not).
Is there any ready built function in PHP that can cope with generating the intermediate values in the range? Or if not any tips on how to build one?
Aucun commentaire:
Enregistrer un commentaire