paulosinuk
IS-IT--Management
Hi,
I have a product name field that consists of a unique code to identify rooms and meeting rooms within sites. I need to interpret this code to count the number of each tpye of room.
For example 1102L2/EN & BelgiumM12/EN
1102 & Belgium are unique room names
L indicates long term room
M indicates meeting room
2 7 12 represent the seating capacity of the room
/EN indicates the location within the building
I haved been trying to write an analysis routine that trims right until it hits the "/" and then checks the next characters until it hits either an "L" or an "M" and then increments a count for either "Long Term Room" or "Meeting Room"
Any help would be appreciated.
I have a product name field that consists of a unique code to identify rooms and meeting rooms within sites. I need to interpret this code to count the number of each tpye of room.
For example 1102L2/EN & BelgiumM12/EN
1102 & Belgium are unique room names
L indicates long term room
M indicates meeting room
2 7 12 represent the seating capacity of the room
/EN indicates the location within the building
I haved been trying to write an analysis routine that trims right until it hits the "/" and then checks the next characters until it hits either an "L" or an "M" and then increments a count for either "Long Term Room" or "Meeting Room"
Any help would be appreciated.