In this blog, we are going to see the use of parametrized custom label.
You can just write the below code into the anonymous window and see the results into the console.
List<String> params = new List<String>{'SALESFORCE','WALLAH'};
String msgLabel = Label.Parameterized;
String Parameterized = String.format(msgLabel, params);
System.debug('Value Check-' + Parameterized);
😉😉😉😉😉😉😉
Comments
Post a Comment
Please Write your comment here.