Skip to content
  • Contacts
  • Articles
  • Categories

AX / Dynamics 365 For Finance and Operations blog

Category: Trim

AX / D365FO – Remove spaces from Text in Ax (TRIM)

Posted on 21 February 202321 February 2023 by Marco Saad

To Remove spaces from Text you can get idea from below code sample. Here we are update name fields which include spaces on right and left side . Dirpartytable Dirpartytable; Name Name; ; while select forUpdate Dirpartytable { ttsBegin; Name= strRTrim(strLTrim(Dirpartytable.Name)); Dirpartytable.Name = Name; Dirpartytable.doUpdate(); ttsCommit; } info("Done");

Leave a comment

D365FO -AX – Remove spaces from Text in X++

Posted on 6 May 202120 August 2021 by Marco Saad

To Remove spaces from Text you can get idea from below code sample. Here we are update name fields which include spaces on right and left side . Dirpartytable Dirpartytable; Name Name; while select forUpdate Dirpartytable { ttsBegin; Name= strRTrim(strLTrim(Dirpartytable.Name)); Dirpartytable.Name = Name; Dirpartytable.doUpdate(); ttsCommit; } info("Done");

Leave a comment

Cerca

Recent Posts

  • SQL SERVER – Create a SQL Server Linked Server to Azure SQL Database
  • SQL SERVER – Convert a given date from UTC to your time zone and daylight savings time
  • AX / D365FO – Get Form COntrol label text
  • AX / D365FO – Set up Data Entities Export recurring jobs
  • SQL SERVER – Copy more than 65535 characters from result grid Column

Categories

Enter your e-mail address to subscribe to this blog, and receive notifications of new posts by e-mail.

Join 1,627 other subscribers
Follow AX / Dynamics 365 For Finance and Operations blog on WordPress.com
Blog at WordPress.com.
  • Follow Following
    • AX / Dynamics 365 For Finance and Operations blog
    • Join 79 other followers
    • Already have a WordPress.com account? Log in now.
    • AX / Dynamics 365 For Finance and Operations blog
    • Customize
    • Follow Following
    • Sign up
    • Log in
    • Report this content
    • View site in Reader
    • Manage subscriptions
    • Collapse this bar
 

Loading Comments...