Split a dictionary of string

Hi ,

I want to split a dictionary with a special character or new line so that i can loop it,

input,

  1. Dic(“remark”)= My name is
  2. Dic(“remark”)= My name & Class is XYZ
    output=> Dic(“remark”) = My name
    Dic(“remark”)= Class is XYZ

both keys are identical,

So i want to loop it with this delimiter, so that if & is there then bot loop and take remark 2 times,

Dictionaries need to have unique Keys

Depending on your Case, maybe a Loop over the split value will Work as Well

Dict(“Remark”).toString().Split("&"c)

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.