Convert hyphened UUID to raw UUID

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

Leave a Reply

Your email address will not be published. Required fields are marked *