ads

Friday, 8 December 2017

Convert String to Id In saleforce


Explanation :


String StrId = '0012800001VbHZv'; // StrId Should be a Vaild Record Id
Id IdValue = Id.valueOf(StrId);
System.debug('IdValue====>'+idValue);



Debug Output :



No comments:

Post a Comment