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
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

Power Platform Call June 2022 768x460.png

Power Platform Community Call

Join us for the next call on June 15, 2022 at 8am PDT.

PA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.

PA.JPG

New Release Planning Portal (Preview)

Check out our new release planning portal, an interactive way to plan and prepare for upcoming features in Power Platform.

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