• Priya Ravichandran
  • NEWBIE
  • 0 Points
  • Member since 2018

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 2
    Replies
Hi, 
 I want to create a apex class with the below input an output.. am new to SF please help.



Input 
===== 
Field1|Field2 
AAA|1,2 
BBB|1,2,3 
CCC|1,2,3,4 
DDD|1,2,3,4,5 


Output 
====== 
AAA|1 
AAA|2 
BBB|1 
BBB|2 
BBB|3 
CCC|1 
CCC|2 
CCC|3 
CCC|4 
DDD|1 
DDD|2 
DDD|3 
DDD|4 
DDD|5 
Hi, 
 I want to create a apex class with the below input an output.. am new to SF please help.



Input 
===== 
Field1|Field2 
AAA|1,2 
BBB|1,2,3 
CCC|1,2,3,4 
DDD|1,2,3,4,5 


Output 
====== 
AAA|1 
AAA|2 
BBB|1 
BBB|2 
BBB|3 
CCC|1 
CCC|2 
CCC|3 
CCC|4 
DDD|1 
DDD|2 
DDD|3 
DDD|4 
DDD|5