function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Saurabh Singh 118Saurabh Singh 118 

i want to insert data in a string, list<string> type Map using input command. can some one share its code

sowmya Inturi 9sowmya Inturi 9
Hi Saurabh,

Try this code:
Map<String,List<String>> lMap= new Map<String,List<String>>();
lMap.put('test',new List<String>('a','b'));

Let me know if this is your exact problem.

Thanks,
Sowmya.