I have a list and want to add bullets before each item in the list.
Example list: {Item1, Item2, Item3}
Expected output:
• Item1
• Item2
• Item3
I have a list and want to add bullets before each item in the list.
Example list: {Item1, Item2, Item3}
Expected output:
• Item1
• Item2
• Item3
are trying to generate html code?
Assign Activity:
strFragment =
"<ul>" & String.Join("",yourStringList.Select(Function (x) String.Format("{0}{1}{2}", "<li>",x,"</li>"))) & "</ul>"

Can you try below
items = {"Item1", "Item2", "Item3"}
bulletedList = String.Join(Environment.NewLine, items.Select(Function(item) "• " & item))
Cheers!!
myList : List<String> = {"Item1", "Item2", "Item3"}bulletedList : List<String> = new List(Of String)()item in myList
Assign Activity: bulletedItem = "• " + itemInvoke Method Activity to add bulletedItem to bulletedList
bulletedListAddbulletedItembulletedItem in bulletedList
Write Line activity or Message Box to display bulletedItem.thanks for the reply, the above solution seems to be working fine.
this works, thanks for the solution
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.