Jochen: Yeah, I know.
Shawn: I was prepared for that, but I'm glad there are some that try anyway. I haven't posted to the SL forum, it's slow and unexperience, you KORG guys are "IT" when it comes to Kixtart, therefore......
Sorry about the use of "register". What I mean is, SL doesn't seem to recognize the use of "left". There are no syntax errors, it just doesn't select the first two left characters.
The code I mentioned above returns any two characters in the workstation name that equal $PCdept.
If I have: It will return all computers that have "en" in the name, not just those with "en" at the beginning. This is a problem when I have Engineering department computers that have EN430289 and another computer outside the Engineering dept that is named "Bagend".
SL recommended using message boxes to see what my variables generate. I know, you're laughing. *sigh*. At least when I go to the SL function library, I see almost every PRO's name from KORG. That's pretty cool.
http://www.scriptlogic.com/kixtart/functionlibrary_functionlist.aspx
WITTO: I'm going to try your syntax and see what happens. Thanks a lot!!
_________________________
let the wise listen and add to their learning,
and let the discerning get guidance- Proverbs 1:5