/mcpparseDateStringISO8601(s) Parses the string with ISO-8601 date format: YYYY-MM-DDTHH:mm:ss.sssZ. Example finesse.utilities.Utilities.parseDateStringISO8601(new Date().toISOString()) Parameters Required Description Type Name Yes ISO-8601 date format: YYYY-MM-DDTHH:mm:ss.sssZ. String s Returns {Date} The JavaScript date object. Certain browsers do not support the date constructor which considers ISO-8601 date format. For example, Internet Explorer 8. Note removeSpaces(string) Removes all spaces from the given string. Example finesse.utilities.Utilities.removeSpaces('user is') Parameters Required Description Type Name Yes The string to remove spaces from. String string Returns {String} The string with no leading and trailing whitespace. trim(str) Trims the leading and trailing whitespace from the given string. Example finesse.utilities.Utilities.trim('user ') Parameters Required Description Type Name Yes The string to trim. String str Returns {String} The string with removed whitespace from both ends. Cisco Finesse Web Services Developer and JavaScript Guide, Release 12.5(1) 533 Cisco Finesse JavaScript APIs Utilities
