Jump to content
Sign in to follow this  
bens

search in field

Recommended Posts

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".

Share this post


Link to post
Share on other sites

Use the Position or PatternCount function to see if a field contains a particular string of text.

Share this post


Link to post
Share on other sites

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 ?

Share this post


Link to post
Share on other sites

Try:

not IsEmpty ( FilterValues ( item ; list ) )

This assumes the list is return-separated.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.