Hi all, I would like to know if it is possible to extract every single characther in a string without separator in PI AF.

Example:

I have a string: "ABCDE", and I would like to obtain a list with all the single characters: ["A", "B", "C", "D", "E"].

Parents
  • Since you tagged this with a category of PI for Developers, then I would presume you would use whatever programming language you like to achieve this. One you have a string in-memory, you can manipulate however you like.

     

    You also tagged this with PI AF Analysis. The problem with an analysis is that looping is not a strong feature. You would have to know the length the string, and then use the Mid function to extract a single character.

Reply
  • Since you tagged this with a category of PI for Developers, then I would presume you would use whatever programming language you like to achieve this. One you have a string in-memory, you can manipulate however you like.

     

    You also tagged this with PI AF Analysis. The problem with an analysis is that looping is not a strong feature. You would have to know the length the string, and then use the Mid function to extract a single character.

Children
No Data