web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Char (10 and Char (13))
Power Apps
Unanswered

Char (10 and Char (13))

(0) ShareShare
ReportReport
Posted on by 60

I’m using PowerApps to send an email receipt of a request form. I have been trying to use Char (10) and Char (13) to create a line break within my string but it doesn’t take it. Any ideas? 

Char.PNG
Categories:
I have the same question (0)
  • Verified answer
    timl Profile Picture
    36,383 Super User 2025 Season 2 on at

    Hi @Mac

    The HTML tag for a line break is <br>. If you replace Char(13) with "<br>", that should solve your problem.

     

  • v-xida-msft Profile Picture
    on at

    HI @Mac,

    The Char(10) and Char(13) both return a ASCII character, which would not work in HTML code.

    I agree with @timl's thought almost, please consider take a try to replace the Char(13) or Char(10) within the email body with "<br/>" html tag:7.JPG

     

    Best regards,

    Kris

  • Community Power Platform Member Profile Picture
    on at


    Hello,

    I am researching how to format the text that will be sent by email. I believe this post can help me, but I don't know how to start. I'm trying to organize the data below.

     

    SubmitForm(EditForm1) &
    Office365Outlook.SendEmail(EmailGestor;"Nova atualização CIMATEC PRO"; "Olá Gestor, veja os detalhes de cliente em prospecção:" & ThisItem.Empresa & "" & ThisItem.'Tipo de negócio' & ThisItem.'Perfil do cliente' & ThisItem.Anotações & ThisItem.'Data próximo encontro') & 
    Office365Outlook.SendEmail(EmailConsultor;"Nova atualização CIMATEC PRO"; "Olá Gestor, veja os detalhes de cliente em prospecção:" & ThisItem.Empresa & ThisItem.'Tipo de negócio' & ThisItem.'Perfil do cliente' & ThisItem.Anotações & ThisItem.'Data próximo encontro') & Navigate(DetailForm1)

     

    Thank you in advance!

  • Community Power Platform Member Profile Picture
    on at


    Hello,

    I am researching how to format the text that will be sent by email. I believe this post can help me, but I don't know how to start. I'm trying to organize the data below.

     

     

    SubmitForm(EditForm1) &
    Office365Outlook.SendEmail(EmailGestor;"Nova atualização CIMATEC PRO"; "Olá Gestor, veja os detalhes de cliente em prospecção:" & ThisItem.Empresa & "" & ThisItem.'Tipo de negócio' & ThisItem.'Perfil do cliente' & ThisItem.Anotações & ThisItem.'Data próximo encontro') & 
    Office365Outlook.SendEmail(EmailConsultor;"Nova atualização CIMATEC PRO"; "Olá Gestor, veja os detalhes de cliente em prospecção:" & ThisItem.Empresa & ThisItem.'Tipo de negócio' & ThisItem.'Perfil do cliente' & ThisItem.Anotações & ThisItem.'Data próximo encontro') & Navigate(DetailForm1)

     

     

    Update;

     

    I woke up until I did it!

     

    SubmitForm(EditForm1) & Office365Outlook.SendEmail(
     EmaildoGestor;
     "Nova atualização CIMATEC PRO";
     "Olá " & (DataCardValue43) & "<p><b>Nome da empresa:</b></p> " & ThisItem.Empresa & "<p><b>Tipo de negócio:</b></p> " & ThisItem.'Tipo de negócio' & "<p><b>Perfil do cliente:</b></p> " & ThisItem.'Perfil do cliente' & "<p><b>Anotações:</b></p> " & ThisItem.Anotações; {IsHtml: true}) & Office365Outlook.SendEmail(
     EmailConsultor;
     "Nova atualização CIMATEC PRO";
     "Olá " & (DataCardValue41) & "<p><b>Nome da empresa:</b></p> " & ThisItem.Empresa & "<p><b>Tipo de negócio:</b></p> " & ThisItem.'Tipo de negócio' & "<p><b>Perfil do cliente:</b></p> " & ThisItem.'Perfil do cliente' & "<p><b>Anotações:</b></p> " & ThisItem.Anotações;
     {IsHtml: true}
    )

     

    Thank you in advance!

  • Community Power Platform Member Profile Picture
    on at

    Thank you, this is working! 😊

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 793 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 333 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard