Hello,
I've a string and all sort of values in wich I've to check and return the
correct value.
Here is a sample (simplified as I've a huge amount of datas):
code = 1
subcode 65 values 06101;06102;061 03;06106;06108; 06109
subcode 69 values 07003;07004;070 07;07008;07009; 07012;07013
code = 2
subcode 65 values 61215;61218;615 58;61587
subcode 69 values 83662:83667;836 68
Now I've a given code and value and I need to know the subcode.
I mean if I give the function code=1 and value = 06108 then the function
should return 65
if I give the function code=2 and value = 83668 then the returned subcode
must be 69
How to do so ?
Thanks for helping.
Bob
I've a string and all sort of values in wich I've to check and return the
correct value.
Here is a sample (simplified as I've a huge amount of datas):
code = 1
subcode 65 values 06101;06102;061 03;06106;06108; 06109
subcode 69 values 07003;07004;070 07;07008;07009; 07012;07013
code = 2
subcode 65 values 61215;61218;615 58;61587
subcode 69 values 83662:83667;836 68
Now I've a given code and value and I need to know the subcode.
I mean if I give the function code=1 and value = 06108 then the function
should return 65
if I give the function code=2 and value = 83668 then the returned subcode
must be 69
How to do so ?
Thanks for helping.
Bob
Comment