Convert String To Lowercase And Uppercase in Apex #inSalesforce

Convert String To Lowercase And Uppercase in Apex #inSalesforce


toLowerCase():

String name = 'Virtual Mentor';

System.debug('~~~~~~~~Lowercase~~~~~~' + name.toLowercase());


toUpperCase():

String name = 'Virtual Mentor';

System.debug('~~~~~~~Uppercase~~~~~~~~' + name.toUppercase());

Comments