TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Cassie Mod
NA
488
71.1k
How can i add a tab in a text ( string)
Feb 9 2017 8:39 AM
HI,
Ive got the following question.
I create a string of multiple lines. The last two lines contains the username and password.
But how can i use a tab so it would be printed just underneeth eachother ( see example)
the result should look like this:
Het invoeren en/of updaten van een additioneel toestel is geslaagd.
Gebruikersnaam: Pietje32
Wachtwoord: 1234
How can i do that ???
here is my code to create the string.
private
void
SetScaCredentials(
string
username,
string
password)
{
usernameTextbox.Text = username;
passwordTextbox.Text = password;
var succesText =
"Het invoeren en/of updaten van een additioneel toestel is geslaagd."
+
"<br>"
+
"<br>"
+
"Gebruikersnaam: "
+ usernameTextbox.Text +
"<br>"
+
"Wachtwoord: "
+ passwordTextbox.Text;
SuccessTextLiteral.Text = succesText;
SuccessTextPanel.Visible =
true
;
}
Reply
Answers (
5
)
Image to text conversion
Create generic response for API