Liferay.Loader.define("@liferay/object-web@1.0.145/js/utils/string",["module","exports","require"],(function(e,r,t){window;{function firstLetterLowercase(e){return e.charAt(0).toLowerCase()+e.slice(1)}function firstLetterUppercase(e){return e.charAt(0).toUpperCase()+e.slice(1)}function removeAllSpecialCharacters(e){return e.replace(/[^A-Z0-9]/gi,"")}Object.defineProperty(r,"__esModule",{value:!0}),r.firstLetterLowercase=firstLetterLowercase,r.firstLetterUppercase=firstLetterUppercase,r.normalizeLanguageId=function normalizeLanguageId(e){return e.replace("_","-")},r.removeAllSpecialCharacters=removeAllSpecialCharacters,r.separateCamelCase=function separateCamelCase(e){return e.replace(/([a-z])([A-Z])/g,"$1 $2")},r.specialCharactersInString=function specialCharactersInString(e){if(removeAllSpecialCharacters(e).normalize()===e.normalize())return!1;return!0},r.toCamelCase=function toCamelCase(e,r){const t=e.split(" "),a=t.map((e=>firstLetterUppercase(e))).join("");if(r)return firstLetterLowercase(removeAllSpecialCharacters(a));return firstLetterLowercase(a)}}}));
//# sourceMappingURL=string.js.map