Separating informations

jferrojferro Member Posts: 4
edited 2009-09-30 in Navision Financials
Hi,

I would like some help for an issue that I have to solve.
I´m creating an Report to export Clients information to an .txt file in a specific layout.
On the file I have to separate each information using '|'.

My problem is to separate the address information because in one field I have two information.

Example:
On the Client table I have the address information like: Street ABC, 12345
I have to export to the .txt file = |Street ABC|12345|

I need to find the comma and separate the information before and after it.

How can I do this?

Thank´s.
Juliano.

Comments

  • ara3nara3n Member Posts: 9,256
    You can use CONVERTSTR

    NewString := CONVERTSTR(String, FromCharacters, ToCharacters)


    Use this as sourceExp
    CONVERTSTR("Address 2", ',', '!');
    Ahmed Rashed Amini
    Independent Consultant/Developer


    blog: https://dynamicsuser.net/nav/b/ara3n
Sign In or Register to comment.