How to combine two variable result?

Hi,

i have two variables i.e

lck_ckm_customer=ckm_customer and(present in some script A)
table=ckm_customer(present in script B)

in script B i am executing this part

if [ "$lck_$TABLE" != "" ]; then  
  ---
----
----   
fi  

Now, while comparing in my log file i am getting this result

if[ ' lck_ckm_customer ' != ' "" ' ]

but i need value not string..i.e it should do like this

if[' ckm_customer ' != ' "" ' ]

can anyone suggest me how to combine 2 variables...

See if this link helps.

Variables present in script A are not necessarily present in script B (only if B sources A or A calls B using exported variables)
If table=ckm_customer , $TABLE will expand to nothing.
$lck_ will expand to nothing (unless you assign it somewhere else, invisible to us)
And, finally, which of those variables do you want expanded at all?