• Khalfe
  • NEWBIE
  • 0 Points
  • Member since 2020

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 3
    Questions
  • 2
    Replies
I have this error when I try to execute this code Line: 1, Column: 16 Unexpected token '('.
I checked all the parentheses all of the in the code is correct.
 
public class MyId {   
    
	
    public static void show(){ 
        String url='https://drive.google.com/...../';
        system.debug(getId(url)); 
        }
    
    public static String getId(String gdriveUrl){
        String Id = gdriveUrl.remove('https://drive.google.com/.....');
        return Id;
	}

    
 }