This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public with sharing class StirngCheck{ | |
public static void stirngCheckMethod(){ | |
String valNull = null; | |
String vallEmpty = ''; | |
String vallWhiteSpace = ' '; | |
String vallAbc = 'abc'; | |
//Example 1 Similarities between isEmpty and isBlank | |
System.debug(String.isEmpty(valNull)); // true |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let createFolderOptions = { | |
method: "POST", | |
headers: { | |
Authorization: `Bearer ${token}`, | |
"Content-Type": "application/json", | |
}, | |
body: JSON.stringify({ | |
kind : "drive#file", | |
mimeType : "application/vnd.google-apps.folder", | |
name : "API created Sub Folder", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let createFolderOptions = { | |
method: "POST", | |
headers: { | |
Authorization: `Bearer ${token}`, | |
"Content-Type": "application/json", | |
}, | |
body: JSON.stringify({ | |
mimeType: "application/vnd.google-apps.folder", | |
name: "My new google drive folder!", | |
}), |