• Samata Doshi - Extentia
  • NEWBIE
  • 0 Points
  • Member since 2016
  • Extentia


  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 0
    Questions
  • 1
    Replies
public class StringArrayTest{
    public static List<String> generateStringArray(Integer n){
    List<String> lstString = new List<String>();
     for(Integer i=0; i<n;i++){
         lstString.add('\'Test '+i + '\'');        
     }
        System.debug('__________'+lstString);
        return lstString;
    }   
}