I am going to use a label in Apex code and compare it with another String variable. Example: Comparison
Label.MyLabel == MY_VARIABLE;
Do I need to first convert the label to String before comparing? If yes, how to do it?
Salesforce Stack Exchange is a question and answer site for Salesforce administrators, implementation experts, developers and anybody in-between. It only takes a minute to sign up.Sign up to join this community