cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Mac
Helper I
Helper I

Char (10 and Char (13))

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
1 ACCEPTED SOLUTION

Accepted Solutions
timl
Super User
Super User

Hi @Mac

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

 

View solution in original post

5 REPLIES 5
timl
Super User
Super User

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
Community Support
Community Support

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 Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.


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!


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!

Anonymous
Not applicable

Thank you, this is working! 😊

Helpful resources

Announcements
Microsoft 365 Conference – December 6-8, 2022

Microsoft 365 Conference – December 6-8, 2022

Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.

Difinity Conference 2022

Difinity Conference 2022

Register today for two amazing days of learning, featuring intensive learning sessions across multiple tracks, led by engaging and dynamic experts.

European SharePoint Conference

European SharePoint Conference

The European SharePoint Conference returns live and in-person November 28-December 1 with 4 Microsoft Keynotes, 9 Tutorials, and 120 Sessions.

Power Apps Ideas

Changes to Ideas Coming

We are excited to announce a new way to share your ideas for Power Apps!

Top Solution Authors
Top Kudoed Authors
Users online (4,525)