Click here to Skip to main content
15,916,450 members
Home / Discussions / C#
   

C#

 
AnswerRe: Text.Length Command Pin
Henry Minute9-Jan-09 10:51
Henry Minute9-Jan-09 10:51 
GeneralRe: Text.Length Command Pin
Colin Angus Mackay9-Jan-09 11:04
Colin Angus Mackay9-Jan-09 11:04 
GeneralRe: Text.Length Command Pin
Henry Minute9-Jan-09 11:28
Henry Minute9-Jan-09 11:28 
GeneralRe: Text.Length Command Pin
asquaredtech9-Jan-09 19:24
asquaredtech9-Jan-09 19:24 
GeneralRe: Text.Length Command Pin
Henry Minute9-Jan-09 23:45
Henry Minute9-Jan-09 23:45 
GeneralRe: Text.Length Command Pin
Luc Pattyn9-Jan-09 11:35
sitebuilderLuc Pattyn9-Jan-09 11:35 
GeneralRe: Text.Length Command Pin
Henry Minute9-Jan-09 11:36
Henry Minute9-Jan-09 11:36 
AnswerRe: Text.Length Command Pin
asquaredtech9-Jan-09 11:25
asquaredtech9-Jan-09 11:25 
Everybody,

It was well understood before this was posted that the "\r\n" is an escape sequence and the "\r" is compiled as one character.

My question is why the the index of the string counts the "\"s and the length does not.

I am very surprised that there is not an easy way to do this. All I want to do is overwrite an existing string of text with a new string of text. I have it working other than the fact that the string counts the "\"s when referring to the index of the string.
GeneralRe: Text.Length Command Pin
Henry Minute9-Jan-09 11:33
Henry Minute9-Jan-09 11:33 
GeneralRe: Text.Length Command Pin
Colin Angus Mackay9-Jan-09 13:35
Colin Angus Mackay9-Jan-09 13:35 
GeneralRe: Text.Length Command Pin
Guffa9-Jan-09 17:24
Guffa9-Jan-09 17:24 
GeneralRe: Text.Length Command Pin
Henry Minute9-Jan-09 23:34
Henry Minute9-Jan-09 23:34 
GeneralOMG Pin
Luc Pattyn9-Jan-09 11:40
sitebuilderLuc Pattyn9-Jan-09 11:40 
GeneralRe: Text.Length Command Pin
Henry Minute9-Jan-09 12:22
Henry Minute9-Jan-09 12:22 
GeneralRe: Text.Length Command Pin
Colin Angus Mackay9-Jan-09 13:44
Colin Angus Mackay9-Jan-09 13:44 
GeneralRe: Text.Length Command Pin
asquaredtech9-Jan-09 19:13
asquaredtech9-Jan-09 19:13 
GeneralRe: Text.Length Command Pin
Guffa10-Jan-09 0:52
Guffa10-Jan-09 0:52 
AnswerRe: Text.Length Command Pin
Guffa9-Jan-09 17:34
Guffa9-Jan-09 17:34 
GeneralRe: Text.Length Command Pin
asquaredtech9-Jan-09 19:20
asquaredtech9-Jan-09 19:20 
GeneralRe: Text.Length Command Pin
Guffa9-Jan-09 20:10
Guffa9-Jan-09 20:10 
QuestionMultiple values in a querystring Pin
ferronrsmith9-Jan-09 8:48
ferronrsmith9-Jan-09 8:48 
AnswerRe: Multiple values in a querystring Pin
sudhanvag10-Jan-09 5:18
sudhanvag10-Jan-09 5:18 
GeneralRe: Multiple values in a querystring Pin
ferronrsmith10-Jan-09 9:55
ferronrsmith10-Jan-09 9:55 
GeneralRe: Multiple values in a querystring Pin
sudhanvag10-Jan-09 15:59
sudhanvag10-Jan-09 15:59 
QuestionRead and copy .docx Pin
Xtrme_XJ9-Jan-09 8:23
Xtrme_XJ9-Jan-09 8:23 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.