Salesforce Stack Exchange is a question and answer site for Salesforce administrators, implementation experts, developers and anybody in-between. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have to select a value from a pick list having values starting with 'PR'

I have tried

ISPICKVAL(Order_Type__c, 'PR%')

But I am not able to use expression Like or wildcards here.

share|improve this question

Use the Left formula along with the text formula and compare that to PR.

LEFT(TEXT(Order_Type__c),2) = "PR"
share|improve this answer

CONTAINS(TEXT(Exchanged_Through__c), 'QC')

share|improve this answer
i realize you answered your own question but the answer doesn't correspond to the question (starts with versus contains) - for others, you might want to align question with answer – cropredy Aug 9 '14 at 19:01

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.