gerjanschoemake
09-16-2005, 06:31 AM
Hello,
I have a DB which contains the following values:
L,P3/UR
T1/UR
L,P3,S2/UR
L,P1,T2/UR
I would like the following:
If it contains no comma
value1 = value before slash
If it contains 1 comma
value1 = value before comma, untill the slash
value2 = value after comma, untill the slash
if it contains two comma's
value1 = value before first comma, untill the slash
value2 = value before second comma, untill the slash
value3 = value after second comma, untill the slash
tnx!
Gerjan
I have a DB which contains the following values:
L,P3/UR
T1/UR
L,P3,S2/UR
L,P1,T2/UR
I would like the following:
If it contains no comma
value1 = value before slash
If it contains 1 comma
value1 = value before comma, untill the slash
value2 = value after comma, untill the slash
if it contains two comma's
value1 = value before first comma, untill the slash
value2 = value before second comma, untill the slash
value3 = value after second comma, untill the slash
tnx!
Gerjan