Take the 2-minute tour ×
Salesforce Stack Exchange is a question and answer site for Salesforce administrators, implementation experts, developers and anybody in-between. It's 100% free, no registration required.

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

2 Answers 2

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 –  crop1645 Aug 9 at 19:01

Your Answer

 
discard

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.