Click here to Skip to main content
15,890,043 members
Home / Discussions / C#
   

C#

 
AnswerRe: Is it a Bug ? Pin
dan!sh 17-Jan-10 22:26
professional dan!sh 17-Jan-10 22:26 
GeneralRe: Is it a Bug ? Pin
Xmen Real 17-Jan-10 23:16
professional Xmen Real 17-Jan-10 23:16 
GeneralRe: Is it a Bug ? Pin
#realJSOP18-Jan-10 0:01
mve#realJSOP18-Jan-10 0:01 
AnswerRe: Is it a Bug ? Pin
OriginalGriff17-Jan-10 23:27
mveOriginalGriff17-Jan-10 23:27 
Questionmynamespace.App app = new mynamespace.App() Pin
V.17-Jan-10 21:42
professionalV.17-Jan-10 21:42 
AnswerRe: mynamespace.App app = new mynamespace.App() Pin
Abhinav S17-Jan-10 22:37
Abhinav S17-Jan-10 22:37 
GeneralRe: mynamespace.App app = new mynamespace.App() Pin
V.18-Jan-10 19:48
professionalV.18-Jan-10 19:48 
Questionc# string operation Pin
AndieDu17-Jan-10 18:14
AndieDu17-Jan-10 18:14 
Hi All,

say i have these inputs strings:
string input_1 = " ABCD ";
string input_2 = " A BC D ";
string input_3 " A B C D ";

I want to convert these strings to the follows:
input_1 = " ABCD";
input_2 = " A BC D";
input_3 " A B C D";

basically remove all the blanks after the last letter, i know the string.TrimEnd() function in .Net can be used to achieve my requirement. Is there another way (without using string.TrimEnd() function) to achieve the same as String.TrimEnd() does?

Many thanks
AnswerRe: c# string operation Pin
Sagar Khairnar 5517-Jan-10 19:04
professionalSagar Khairnar 5517-Jan-10 19:04 
AnswerRe: c# string operation Pin
PIEBALDconsult17-Jan-10 19:05
mvePIEBALDconsult17-Jan-10 19:05 
GeneralRe: c# string operation Pin
AndieDu17-Jan-10 19:11
AndieDu17-Jan-10 19:11 
GeneralRe: c# string operation Pin
Abhinav S17-Jan-10 20:29
Abhinav S17-Jan-10 20:29 
GeneralRe: c# string operation Pin
OriginalGriff17-Jan-10 21:55
mveOriginalGriff17-Jan-10 21:55 
AnswerRe: c# string operation Pin
OriginalGriff17-Jan-10 21:56
mveOriginalGriff17-Jan-10 21:56 
GeneralRe: c# string operation Pin
AndieDu17-Jan-10 23:01
AndieDu17-Jan-10 23:01 
AnswerRe: c# string operation Pin
theOzLizard17-Jan-10 22:13
theOzLizard17-Jan-10 22:13 
GeneralRe: c# string operation Pin
OriginalGriff17-Jan-10 23:31
mveOriginalGriff17-Jan-10 23:31 
GeneralRe: c# string operation Pin
theOzLizard18-Jan-10 8:43
theOzLizard18-Jan-10 8:43 
GeneralRe: c# string operation Pin
PIEBALDconsult18-Jan-10 16:18
mvePIEBALDconsult18-Jan-10 16:18 
GeneralRe: c# string operation Pin
theOzLizard18-Jan-10 18:07
theOzLizard18-Jan-10 18:07 
AnswerRe: c# string operation Pin
dan!sh 17-Jan-10 23:45
professional dan!sh 17-Jan-10 23:45 
GeneralRe: c# string operation Pin
OriginalGriff18-Jan-10 0:20
mveOriginalGriff18-Jan-10 0:20 
GeneralRe: c# string operation Pin
dan!sh 18-Jan-10 0:49
professional dan!sh 18-Jan-10 0:49 
GeneralRe: c# string operation Pin
OriginalGriff18-Jan-10 1:21
mveOriginalGriff18-Jan-10 1:21 
GeneralRe: c# string operation Pin
dan!sh 18-Jan-10 3:57
professional dan!sh 18-Jan-10 3:57 

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.