AnsweredAssumed Answered

how can I make label using arcade that has multiple values

Question asked by sshenberger on Aug 21, 2019
Latest reply on Apr 16, 2020 by xander_bakker

I am trying to create an arcade expression that will pull only part of an attribute field. We track multiple document numbers in a field called DocumentNumber. Each document is separated by an !. I want to create a label from just the first document number. For example, I can have a document number field that looks like PN 123-4567!FN 1234 or FN 4567!PN 7654-123 (although document numbers vary by length depending on type) I would like to create a label based on the first value of the document number field which is where I am struggling


Thank you