LOOKUP2 is just the big brother of LOOKUP, so here are a couple of examples.
http://melabs.com/samples/PBP-mixed/lookup.htm

And this will place the value of a string into a variable
Code:
BUFFERQ  VAR BYTE[13] 
B0          VAR BYTE
B1          VAR BYTE 
'#####################
FOR B0 = 0 TO 12
    LOOKUP B0,[" MACKRACKIT",10,13],B1         
    BUFFERQ(B0) = B1
    NEXT B0