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

C#

 
AnswerRe: Text.Length Command Pin
Eddy Vluggen9-Jan-09 9:13
professionalEddy Vluggen9-Jan-09 9:13 
GeneralRe: Text.Length Command Pin
asquaredtech9-Jan-09 9:18
asquaredtech9-Jan-09 9:18 
GeneralRe: Text.Length Command Pin
Guffa9-Jan-09 17:19
Guffa9-Jan-09 17:19 
GeneralRe: Text.Length Command Pin
asquaredtech9-Jan-09 19:05
asquaredtech9-Jan-09 19:05 
GeneralRe: Text.Length Command Pin
Guffa9-Jan-09 19:54
Guffa9-Jan-09 19:54 
GeneralRe: Text.Length Command Pin
Luc Pattyn9-Jan-09 9:31
sitebuilderLuc Pattyn9-Jan-09 9:31 
GeneralRe: Text.Length Command Pin
asquaredtech9-Jan-09 10:14
asquaredtech9-Jan-09 10:14 
GeneralRe: Text.Length Command Pin
Colin Angus Mackay9-Jan-09 10:24
Colin Angus Mackay9-Jan-09 10:24 
asquaredtech wrote:
I understand this, I was hoping there was a way to count the "\"s.


Why? What purpose does it serve?


asquaredtech wrote:
The remove function allows me to remove the string "Line 1 of 3" from the text box, then append the string "Line 2 of 3" which is returned from method I call. I get the length before "Line 1 of 3" so I know where to start removing from.


No, it doesn't. The string returned by the Text property is still immutable (it does not, and cannot, change). Since you don't assign the new string you've created with the Remove method back to the Text property then nothing gets updated.

* Developer Day Scotland 2 - Free community conference
* The Blog of Colin Angus Mackay


Vogon Building and Loan advise that your planet is at risk if you do not keep up repayments on any mortgage secured upon it. Please remember that the force of gravity can go up as well as down.

GeneralRe: Text.Length Command Pin
Luc Pattyn9-Jan-09 10:27
sitebuilderLuc Pattyn9-Jan-09 10:27 
AnswerRe: Text.Length Command Pin
Rutvik Dave9-Jan-09 10:32
professionalRutvik Dave9-Jan-09 10:32 
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 
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 

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.