Did you know that you can use Char(10) to create a line break in text controls within a canvas app?

Following is an example:

User().FullName & Char(10) & User().Email

Char(10) function adds a line break, so it prints the user’s ‘full name’ and ’email’ on separate lines.

Note that, Char(10) returns an ASCII code and doesn’t work in the HTML Text control.

To create a line break in the HTML Text control, use the <br/> tag, instead.

🙂

Leave a Reply

Visitors

2,200,357 hits

Top Posts

Discover more from Rajeev Pentyala – Technical Blog on Power Platform, Azure and AI

Subscribe now to keep reading and get access to the full archive.

Continue reading