Click here to Skip to main content
15,394,885 members
Home / Discussions / C#
   

C#

 
QuestionHow to count a character in a string? Pin
SimpleData8-Jun-09 3:47
MemberSimpleData8-Jun-09 3:47 
AnswerRe: How to count a character in a string? Pin
PIEBALDconsult8-Jun-09 3:52
professionalPIEBALDconsult8-Jun-09 3:52 
AnswerRe: How to count a character in a string? Pin
Blue_Boy8-Jun-09 3:54
MemberBlue_Boy8-Jun-09 3:54 
GeneralRe: How to count a character in a string? Pin
Luc Pattyn8-Jun-09 4:50
sitebuilderLuc Pattyn8-Jun-09 4:50 
AnswerRe: How to count a character in a string? Pin
Manas Bhardwaj8-Jun-09 3:54
professionalManas Bhardwaj8-Jun-09 3:54 
GeneralRe: How to count a character in a string? Pin
SimpleData8-Jun-09 4:10
MemberSimpleData8-Jun-09 4:10 
AnswerRe: How to count a character in a string? Pin
Skymir8-Jun-09 4:17
MemberSkymir8-Jun-09 4:17 
GeneralRe: How to count a character in a string? Pin
Blue_Boy8-Jun-09 4:26
MemberBlue_Boy8-Jun-09 4:26 
Nice but,instead
Count()
(which is not method) you have to use
Length
int property

int iCount = ("asdasd;asdasdasder;asdgfg;ad;;asdasd".Split(';')).Length- 1;



I Love T-SQL
"Don't torture yourself,let the life to do it for you."
If my post helps you kindly save my time by voting my post.


AnswerRe: How to count a character in a string? [modified] Pin
Luc Pattyn8-Jun-09 4:51
sitebuilderLuc Pattyn8-Jun-09 4:51 
GeneralRe: How to count a character in a string? Pin
harold aptroot8-Jun-09 5:52
Memberharold aptroot8-Jun-09 5:52 
GeneralRe: How to count a character in a string? Pin
Luc Pattyn8-Jun-09 7:17
sitebuilderLuc Pattyn8-Jun-09 7:17 
GeneralRe: How to count a character in a string? Pin
harold aptroot8-Jun-09 7:45
Memberharold aptroot8-Jun-09 7:45 
Questionzedgraph Pin
yankoon8-Jun-09 3:06
Memberyankoon8-Jun-09 3:06 
QuestionDynamically adding checkboxes in datagridview. Pin
deepseeindeepsy8-Jun-09 3:02
Memberdeepseeindeepsy8-Jun-09 3:02 
AnswerRe: Dynamically adding checkboxes in datagridview. Pin
yankoon8-Jun-09 3:11
Memberyankoon8-Jun-09 3:11 
GeneralRe: Dynamically adding checkboxes in datagridview. Pin
deepseeindeepsy8-Jun-09 19:11
Memberdeepseeindeepsy8-Jun-09 19:11 
QuestionEXCEPTIONN: Request for the permission of type 'System.Configuration.ConfigurationPermission, System.Configuration, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' failed Pin
Ashwanth Sreedharan8-Jun-09 1:34
MemberAshwanth Sreedharan8-Jun-09 1:34 
AnswerRe: EXCEPTIONN: Request for the permission of type 'System.Configuration.ConfigurationPermission, System.Configuration, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' failed Pin
Rob Philpott8-Jun-09 2:07
MemberRob Philpott8-Jun-09 2:07 
AnswerRe: EXCEPTIONN: Request for the permission of type 'System.Configuration.ConfigurationPermission, System.Configuration, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' failed Pin
Ashwanth Sreedharan8-Jun-09 2:12
MemberAshwanth Sreedharan8-Jun-09 2:12 
QuestionHow can I know when a user clicks on Back button on top left corner of IE window using c#? Pin
svt gdwl8-Jun-09 1:10
Membersvt gdwl8-Jun-09 1:10 
AnswerRe: How can I know when a user clicks on Back button on top left corner of IE window using c#? Pin
musefan8-Jun-09 2:03
Membermusefan8-Jun-09 2:03 
Questionuser control design time event Pin
Abdul Rahman Hamidy8-Jun-09 0:06
MemberAbdul Rahman Hamidy8-Jun-09 0:06 
AnswerRe: user control design time event Pin
Simon P Stevens8-Jun-09 1:03
MemberSimon P Stevens8-Jun-09 1:03 
GeneralRe: user control design time event Pin
Abdul Rahman Hamidy14-Jun-09 19:30
MemberAbdul Rahman Hamidy14-Jun-09 19:30 
QuestionSet a value to MDM T02 TXA-2-3 using NHapi? Pin
jingzo7-Jun-09 23:36
Memberjingzo7-Jun-09 23:36 

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.