so a general comment - if you are doing a bunch of blcli in a script you should use the 'performance commands` - like:
blcil_execute namespace command args
FOO=`blcli namespace command args`
it will be much faster.
it may be there is a control character in the return... can you show an example of the return - like:
blcli_execute Server getFullyResolvedPropertyValue $HOST _COMPANY
I got round to trying this and there indeed is a non printed character at the end of the company name.
I think when I tried to spot this I took the name of the enumerated string vlaue, which didn't have a trailing space, and not the value, which does.