How to print the out put using commas in background script
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-19-2022 03:20 AM
Hai all,
I have a small doubt ,How to print the data using comma in the background script
out put is
sekhar
chandu
power
i want to print as
sekhar,chandu,power.
thank you
sekhar.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-19-2022 03:25 AM
Hello @sekhar6 ,
Two ways to print output:
1: If you want to print hard code value use this:
gs.print("sekhar,chandu,power");
2: If you want to print variable values instead of sekhar,chandu,power use this:
gs.print(sekhar+","+chandu+","+power );
sekhar,chandu,power instead of these values you can apply your variable names.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-19-2022 03:43 AM
hai
i was using this script
*** Script: Carlisle
*** Script: Harrisburg
*** Script: Ocala
*** Script: undefined
*** Script: Reno
*** Script: Fairfield
i want to print the data as
carlise,harrrisburg,ocala,reno,fairfield.
please help me
sekhar.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-19-2022 03:47 AM
Try below:
Raghav
MVP 2023
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-19-2022 04:28 AM - edited 12-19-2022 04:33 AM
Hai i want to print the out put on the parent record .
the parent field back end value is "u_specific_location"
how to pust out put value in to the parent table field "u_specific_location"