ads

Friday 8 December 2017

Find the length of the String using Apex in Salesforce




Explanation :

String TextStr = 'sfdcforyou.com';
Integer LengthOfString = TextStr.length();
System.debug('LengthOfString====>'+LengthOfString);


Debug Output :


No comments:

Post a Comment