Skip to main content

String Function result of a comma separated string

  • January 29, 2023
  • 0 replies
  • 2 views

Forum|alt.badge.img+5

Hey, I'm trying to take a String Function result of a comma separated string, and loop through each of the values (again seperated by string) and print them using TemplateEngine in a nice way...
For example here is the python equivalent:
ScriptResult = "A,B,C,D"
result_list = ScriptResult.split(",")
for i in result_list:
print(i)

anyone knows how I can achieve same result with TemplateEngine?