bens Posted June 18, 2008 Share Posted June 18, 2008 I'm using Troi file plug in to get a list of mounted disks in the field disks, i would like a script to do something if the field disks contains "job" and something other if the field not containing "job". Link to comment Share on other sites More sharing options...
Fitch Posted June 18, 2008 Share Posted June 18, 2008 Use the Position or PatternCount function to see if a field contains a particular string of text. Link to comment Share on other sites More sharing options...
bens Posted June 18, 2008 Author Share Posted June 18, 2008 what if the list of mounted disks also contains "job1" and "job2" etc. I have a field that contains the text (job), is there a way of saying that if the list of mounted disks contains the same text as in the field ? Link to comment Share on other sites More sharing options...
comment Posted June 18, 2008 Share Posted June 18, 2008 Try: not IsEmpty ( FilterValues ( item ; list ) ) This assumes the list is return-separated. Link to comment Share on other sites More sharing options...
Recommended Posts
This topic is 5762 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now