your problem is to get the entity handle from the string. what does the string contain? does it contain the entity handle as many digits within the string or does it contain some sort of 'name' for the entity?
if that's the case, you need to set up a TYPE where your entity name and its handle is stored.
if i haven't understood your problem right, feel free to ask further...
if that's the case, you need to set up a TYPE where your entity name and its handle is stored.
if i haven't understood your problem right, feel free to ask further...