Click here to Skip to main content
15,891,184 members
Home / Discussions / C#
   

C#

 
GeneralRe: Ajax slowing my search??? Pin
Chris McGlothen13-Jul-07 4:34
Chris McGlothen13-Jul-07 4:34 
QuestionHelp with a search & replace Pin
rbuchana12-Jul-07 5:51
rbuchana12-Jul-07 5:51 
AnswerRe: Help with a search & replace Pin
User 665812-Jul-07 6:06
User 665812-Jul-07 6:06 
AnswerRe: Help with a search & replace Pin
Luc Pattyn12-Jul-07 6:12
sitebuilderLuc Pattyn12-Jul-07 6:12 
QuestionProblem Connecting to MQ on unix from .NET application Pin
unnamed00712-Jul-07 4:51
unnamed00712-Jul-07 4:51 
QuestionString containing digit or Alphabet Pin
t4ure4n12-Jul-07 4:33
t4ure4n12-Jul-07 4:33 
AnswerRe: String containing digit or Alphabet Pin
User 665812-Jul-07 4:43
User 665812-Jul-07 4:43 
AnswerRe: String containing digit or Alphabet Pin
Luc Pattyn12-Jul-07 4:45
sitebuilderLuc Pattyn12-Jul-07 4:45 
Hi,

you can walk the individual characters of the string:
for (int i=0; i<input.Length; i++) {
    char c=input[i];
    ... do something with c
}


or equivalently (unless you want to change c, wouldnt work here):
foreach (char c in input) {
     ... do something with c
}


and you can use one of many many methods available in String class,
such as IndexOf() and Contains()

May I suggest you at least read the MSDN documentation on String class;
or better yet work your way through a introductory C# book.

Smile | :)



AnswerRe: String containing digit or Alphabet Pin
Christian Graus12-Jul-07 4:53
protectorChristian Graus12-Jul-07 4:53 
QuestionIOException Problem... Pin
Andy Spier12-Jul-07 4:23
Andy Spier12-Jul-07 4:23 
AnswerRe: IOException Problem... Pin
Luc Pattyn12-Jul-07 4:28
sitebuilderLuc Pattyn12-Jul-07 4:28 
GeneralRe: IOException Problem... Pin
Andy Spier12-Jul-07 4:33
Andy Spier12-Jul-07 4:33 
GeneralRe: IOException Problem... Pin
Luc Pattyn12-Jul-07 4:52
sitebuilderLuc Pattyn12-Jul-07 4:52 
GeneralRe: IOException Problem... Pin
Andy Spier12-Jul-07 4:59
Andy Spier12-Jul-07 4:59 
GeneralRe: IOException Problem... Pin
Luc Pattyn12-Jul-07 5:18
sitebuilderLuc Pattyn12-Jul-07 5:18 
GeneralRe: IOException Problem... Pin
Andy Spier12-Jul-07 5:27
Andy Spier12-Jul-07 5:27 
GeneralRe: IOException Problem... Pin
Luc Pattyn12-Jul-07 5:50
sitebuilderLuc Pattyn12-Jul-07 5:50 
GeneralRe: IOException Problem... Pin
Luc Pattyn12-Jul-07 5:54
sitebuilderLuc Pattyn12-Jul-07 5:54 
AnswerRe: IOException Problem... Pin
martin_hughes12-Jul-07 10:52
martin_hughes12-Jul-07 10:52 
GeneralRe: IOException Problem... Pin
Andy Spier12-Jul-07 16:19
Andy Spier12-Jul-07 16:19 
GeneralRe: IOException Problem... Pin
Andy Spier14-Jul-07 8:50
Andy Spier14-Jul-07 8:50 
QuestionWrapper class Pin
ramdil12-Jul-07 4:00
ramdil12-Jul-07 4:00 
AnswerRe: Wrapper class Pin
originSH12-Jul-07 4:05
originSH12-Jul-07 4:05 
GeneralRe: Wrapper class Pin
ramdil12-Jul-07 5:43
ramdil12-Jul-07 5:43 
GeneralRe: Wrapper class Pin
originSH12-Jul-07 6:02
originSH12-Jul-07 6:02 

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.