Function
/** * @description convert hyphened UUID to raw UUID * @param {string} sHyphendedUUID * @returns {string} sRawUUID */ convertHyphenedUUIDToRawUUID: function(sHyphendedUUID) { return sHyphendedUUID.replaceAll("-", "").toUpperCase(); }
Example
console.log(this.convertHyphenedUUIDToRawUUID("0050569f-176f-1edd-a39f-10064a8f52f1")); //Expected output: 0050569F176F1EDDA39F10064A8F52F1