How to break line in zohoCRM

How to break line in zohoCRM

Hello everyone,

I'm currently working with Deluge scripting language and encountering an issue with newline characters (\n). My goal is to format a string with multiple lines, but the newline characters are not being interpreted correctly. Instead of creating new lines, they appear as literal \n in the output.

Here's an example of my code:

msg = "お客様名: " + Customer_Name + "\n" + 
      "訪問日時: " + VisitDate + "\n" + 
      "支店名: " + BranchName + "\n" +
      "次回訪問予定日時: " + NextVisitScheduledDateTime + "\n" + 
      "チーフ: " + ChiefName + "\n" + 
      "同行者: " + Companion + "\n" + 
      "お客様の声: " + CustomerFeedbackList + "\n" + 
      "ライバル情報: " + RivalInformation + "\n" + 
      "サービス内容: " + ServiceContent + "\n" + 
      "自分・スタッフの考え: " + PersonalStaffThoughts;
info msg;

The output I get is:
お客様名: てすと@長谷川\n訪問日時: 2024-06-14T10:00:00+09:00~2024-06-14T14:30:00+09:00\n支店名: 国分寺支店\n次回訪問予定日時: null\nチーフ: null\n同行者: null\nお客様の声: 『よかった』\nライバル情報: null\nサービス内容: null\n自分・スタッフの考え: null

msg = "";
msg = msg + "お客様名: " + Customer_Name + "\n";
msg = msg + "訪問日時: " + VisitDate + "\n";
msg = msg + "支店名: " + BranchName + "\n";
msg = msg + "次回訪問予定日時: " + NextVisitScheduledDateTime + "\n";
msg = msg + "チーフ: " + ChiefName + "\n";
msg = msg + "同行者: " + Companion + "\n";
msg = msg + "お客様の声: " + CustomerFeedbackList + "\n";
msg = msg + "ライバル情報: " + RivalInformation + "\n";
msg = msg + "サービス内容: " + ServiceContent + "\n";
msg = msg + "自分・スタッフの考え: " + PersonalStaffThoughts;

info msg;

But this did not solve the problem either.

Could anyone please advise on how to properly handle newline characters in Deluge so that they create actual new lines in the output?

Thank you in advance for your help!




    Zoho Desk Resources

    • Desk Community Learning Series


    • Digest


    • Functions


    • Meetups


    • Kbase


    • Resources


    • Glossary


    • Desk Marketplace


    • MVP Corner


    • Word of the Day


      Zoho CRM Plus Resources

        Zoho Books Resources


          Zoho Subscriptions Resources

            Zoho Projects Resources


              Zoho Sprints Resources


                Zoho Orchestly Resources


                  Zoho Creator Resources


                    Zoho WorkDrive Resources



                      Zoho Campaigns Resources

                        Zoho CRM Resources

                        • CRM Community Learning Series

                          CRM Community Learning Series


                        • Tips

                          Tips

                        • Functions

                          Functions

                        • Meetups

                          Meetups

                        • Kbase

                          Kbase

                        • Resources

                          Resources

                        • Digest

                          Digest

                        • CRM Marketplace

                          CRM Marketplace

                        • MVP Corner

                          MVP Corner




                          Zoho Writer Writer

                          Get Started. Write Away!

                          Writer is a powerful online word processor, designed for collaborative work.

                            Zoho CRM コンテンツ




                              ご検討中の方