|
-
May 20th, 2002, 10:16 AM
#1
need to get an ascii code
Hi
I have a string as
String str = "AT";
i need to append control line feed character
like i need to append ascii value to that string
how would i do that in C#
thanks
Paresh
-
May 20th, 2002, 02:39 PM
#2
String str = "AT";
i need to append control line feed character
like i need to append ascii value to that string
how would i do that in C#
Same as plain old C here, \n = new line, \r = carriage return.
So:
String str = "AT\n";
Buffer0verflow
-
May 20th, 2002, 04:55 PM
#3
Re: need to get an ascii code
Originally posted by PareshG
Hi
I have a string as
String str = "AT";
i need to append control line feed character
like i need to append ascii value to that string
how would i do that in C#
thanks
Paresh
You also might want to check out System.Environment.NewLine
Jared
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|