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.

 

View solution in original post

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!

Thank you, this is working! 😊

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Top Solution Authors
Top Kudoed Authors
Users online (2,378)