To remove special characters from string in axapta you can try following code . static void formatedString(Args _args) { str StringVal = ā Hello \tSumit \n Dearā; str replace(str _sourceStr, str _what, str _with) { int found = 0; str target = _sourceStr; ; do { found = strscan(TargetStr, _what, found, strlen(TargetStr)); if (found != 0) { TargetStr = strdel(TargetStr, found, strlen(_what)); TargetStr = strins(TargetStr, _with, found); found += strlen(_with); } } while (found != 0); return TargetStr; } ; StringVal = replace(StringVal, ā\nā, ā); StringVal = replace(StringVal, ā\rā, ā); StringVal = replace(StringVal, ā\tā, ā); StringVal = replace(StringVal, ā ā, ā); info(StringVal); }
Microsoft Dynamics Ax,AIF,Axapta, Enterprise portal,,Microsoft , United State,U.S., SharePoint , BI Tools, Performance Tuning, SSRS,Business Logic,Ax ERP Errors and solution,Dynamics 365 Errors Solution,Business software .