Is "CN=" always to first entry in the field? If so, this is fairly easy:
mid({table.field}, 4, instr({table.field}, '/') - 4)
Otherwise you'll need to find where "CN=" is. This is possible in one call, but I'll break it down using variables:
NumberVar start;
NumberVar end;
start := instr({table.field}, 'CN=') + 3;
end := instr({table.field, '/', start);
if start > 0 then
mid({table.field}, start, end-start);
else
""
I haven't tested this, so you may need to tweak the numbers a little, but the method should work.
-Dell
A computer only does what you actually told it to do - not what you thought you told it to do.