How are the selected values represented in Apex? - ProProfs Discuss
Topics
Products
Follow Us:

How are the selected values represented in Apex?
In a single record, a user selects multiple values from a multi-select picklist.

How are the selected values represented in Apex?<br/>
In a single record, a user selects multiple values from a multi-select picklist.

Change Image    Delete



A. As a String with each value separated by a comma
B. As a Set String with each value as an element in the set
C. As a String with each value separated by a semicolon
D. As a List String with each value as an element in the listPrevious

This question is part of Platform Dev 1
Asked by Msladysyrenne, Last updated: Feb 21, 2020

+ Answer
Request

4 Answers

C. Bernthal

Its kind of my job to give answers

C. Bernthal, Teacher, MA, P.hD, Seattle

Answered Nov 27, 2018

Option C - As a string with each value separated by a semicolon is correct.
In a single record, a user selects multiple values from a multi - select pick list and the selected values are represented in apex as a string with each value separated by semi colon. This can be demonstrated as value 1: value 2: value 3.

Apex is a platform used by developers to create software that are used for different kind of services. The selected values cannot be represented as a string with values separated with a comma, element in set or as an element in the list previous. It can only be represented as strong with each value separated by a semicolon.

 

H. Jones

H. Jones, Web Content Writer, San Antonio,

Answered Jul 11, 2018

You need to make a string with selected values that are separated by a semicolon. This means that the answer to this question is C. If in case you are not familiar with Apex, this is a type of development platform that will allow people to create software that will be used for services.

For example, it can be used to create CRM or Customer Relationship Management. This can also be used to create third-party applications easily. This can be complicated to understand for people who have never created software but the more details that you know about this, the easier it will be for you to understand everything that you need.

 

Jyothi Rangudu

Jyothi Rangudu

Answered Mar 20, 2018

As a String with each value separated by a semicolon

https://salesforce.stackexchange.com/questions/103559/how-multiple-values-from-a-multi-select-picklist-represented-in-apex

 

msladysyrenne

Msladysyrenne

Answered Jan 10, 2018

As a String with each value separated by a comma

####
 

Search for Google images
Select a recommended image
Upload from your computer
Search for Google images
Select a recommended image
Upload from your computer
Search for Google images
Select a recommended image
Upload from your computer

Email Sent
We have sent an email to your address "" with instructions to reset your password.