I need enter text with linebreak in text Box

Hi Team,

I want to Enter the below data in text box

Dear ,

We have found a Certificate in different format. Please do the needful.

Thanks and Regards,
Bot

How i can write the same text with spaces and data… i need to read the above data from config file.I tried reading from config file by adding Evironment.NewLine wherever space is their
Example:
“Dear”+Environment.newLine+“We have Found certificate in different Format”+

When i read that value from config file i am getting Environment.NewLine not spaces in the text box

Please help me with solution
Thanks
Likitha

@vinjam_likitha,

It depends on where you are trying to put/type it but try this way:

Dear ,\n\n

We have found a Certificate in different format. Please do the needful.\n\n

Thanks and Regards,\n
Bot

Put this in config file and read as usual.

Thanks,
Ashok :slight_smile:

we assume that space / Linebreaks are meant

Where is the text entered? Textbox from an application, Website…

In Excel, when editing a cell, you can press Alt+Enter to get a line break.

You can’t put expressions into the config file. What you’ll have to do is put something special into the text in the config file such as [[NewLine]] everywhere you want a line break. Then after reading the config file, do a replace to replace [[NewLine]] with VbCrLf