wolverinec7
MIS
hi everyone, i have a string field with a max length of 20 characters. This fields holds the initials of the people involved in the case upto a max of 5 people (but can be any between 1-5) seperated by a "/" [eg CXB/DG/FGT]
becuase i need to seperate them out into each person so i can count the cases they're involved in the split function [1],[2] etc to 5 wont work as it rejects it when there's less than five.
i cant do it the long way because the problem i have is that the initials can be either 2 or 3 characters long so my original thought of 5 formulas written on the basis of the length (if {@length} < 6 then " " else
if {@length} >= 6 then right(left({case.staff},7),3)) wont work (i originally thought everyone had 3 initails)
any help would be really appreciated as im a bit stuck.
becuase i need to seperate them out into each person so i can count the cases they're involved in the split function [1],[2] etc to 5 wont work as it rejects it when there's less than five.
i cant do it the long way because the problem i have is that the initials can be either 2 or 3 characters long so my original thought of 5 formulas written on the basis of the length (if {@length} < 6 then " " else
if {@length} >= 6 then right(left({case.staff},7),3)) wont work (i originally thought everyone had 3 initails)
any help would be really appreciated as im a bit stuck.