Count each line in HTML Code?

Hello everyone,

do you guys know how to count each line in a html code?

I have the following assign activity:
Assign Phonenumbers=Phonenumbers.Replace(“,”,“

It looks like this in our ticket system (communciation via. API Interface):

Which html command can I add in my assign activity to see the following output in our ticket system:

  1. 12345
  2. 12345
  3. 12345
  4. 12345
  5. 12345

Thanks in advance! :slight_smile:

Hi try to splt the string by “enter”/“newline”
then assign each of them into array

then can manipulate the array using for each
and assign them to a new string (append the reult of for each )
something like :


1 Like

can you help us to understand for what is not covered from this topic with the suggestion from:

Your solution helped me inside UiPath, but our ticket system couldn’t parse the syntax in the request field.
That’s why I needed a new solution for an html body, outside UiPath.

Wer’e not sure on some wordings from your question e.g.

and would assume you are asking for which code stamentent / VB.Net options, right?

we would need the excact details of your initial input (as far we had understood the response from the API interface)

Depending on this we can decide for solution apporaches

Yes, a syntax that can be read by a html body.

I would pause this question until I have more information from my collegues. I will reply with new information.

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