Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- List<String> lstAlpha = accountToUpdate.split(',');
- List<Id> AccIds = new List<Id>();
- for(String s: lstAlpha)
- {
- s.replaceAll('\p{P}','');
- s = s.substring(1,s.length());
- system.debug('String@'+s);
- Id i = s;
- AccIds.add(i);
- }
- for (var x = 0; x < this.items.length; x++) {
- if(this.items[x].selected){
- var acc = this.items[x];
- this.accids.push(acc.Id);
- alert('Icheck2@'+this.accids);
- }
- }
- Initialized - accids: []
Add Comment
Please, Sign In to add comment