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 III
Super User III

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

4 REPLIES 4
timl
Super User III
Super User III

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!

Helpful resources

Announcements
PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

PA Community Call

Power Apps Community Call

Next call is happening on April 21st at 8a PST.

MBAS Carousel

Sign up for our May 4th event!

May the fourth be with you, join us online!

secondImage

Experience what’s next for Power Apps

See the latest Power Apps innovations, updates, and demos from the Microsoft Business Applications Launch Event.

Top Solution Authors
Top Kudoed Authors
Users online (14,950)