Options

Split the data

upasanisandipupasanisandip Member Posts: 405
Hi guys,
I want to split the following data which is stored in 1 table.
PO99911999 ,PO99911920,PO99911921

Is there any function u know for this?

Thanks.

Comments

  • lubostlubost Member Posts: 632
    What does it mean "split"?
  • upasanisandipupasanisandip Member Posts: 405
    Hi lubost,
    I want to seperate the data from comma.
    Means I want to store the data like following in another table.
    PO99911999
    PO99911920
    PO99911921
  • ritzritz Member Posts: 25
    Can you please tell me the pupose of this??
    I mean why do you want to do this?
    Is this data stored somewhere in the navision, how did u store this in navision??
    what exactly you want to do??
    Thanks,

    Ritesh
  • lubostlubost Member Posts: 632
    There exist a function STRPOS which finds a substring in string.
  • kinekine Member Posts: 12,562
    See on-line help for function SELECTSTR.
    Kamil Sacek
    MVP - Dynamics NAV
    My BLOG
    NAVERTICA a.s.
  • ara3nara3n Member Posts: 9,258
    I don't like SelectCTR function because if the there is no value in that position, you get an runtime error. And you can't catch it.
    I had to write my own function.

    :x
    Ahmed Rashed Amini
    Independent Consultant/Developer


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