Hi White, and welcome, the SUBSTR function might do yeah well here, example:

code:
IF SUBSTR(@WKSTA,1,2) = "D1" OR @WKSTA = "LEAT 30"
$PrinterName = "\\TCW2KS01\D1-HP4Si"
CALL "@LSERVER\NetLogon\Scripts\dfltpntr.kix"
ENDIF

-Shawn