Click here to Skip to main content
15,905,913 members
Home / Discussions / C#
   

C#

 
AnswerRe: In MSSQL, how to find any row has updated or not after executing the update query? Pin
Wendelius30-Jan-09 22:20
mentorWendelius30-Jan-09 22:20 
AnswerRe: In MSSQL, how to find any row has updated or not after executing the update query? Pin
Christian Graus30-Jan-09 22:26
protectorChristian Graus30-Jan-09 22:26 
AnswerRe: In MSSQL, how to find any row has updated or not after executing the update query? Pin
Najmal31-Jan-09 3:42
Najmal31-Jan-09 3:42 
Questionusing enterprise logging how to create custom event logs Pin
mdkarimulla30-Jan-09 20:41
mdkarimulla30-Jan-09 20:41 
AnswerRe: using enterprise logging how to create custom event logs Pin
Wendelius30-Jan-09 22:30
mentorWendelius30-Jan-09 22:30 
QuestionDatagridview Update Pin
sjs4u30-Jan-09 19:11
sjs4u30-Jan-09 19:11 
AnswerRe: Datagridview Update Pin
raihansazal31-Jan-09 17:46
raihansazal31-Jan-09 17:46 
Questiontokenzing strings Pin
lawrenceinba30-Jan-09 18:23
lawrenceinba30-Jan-09 18:23 
using System;

public class TokenizeDemo
{



public static void Main()
{

int tokenIndex = 0;
string values = "#55;xx sterrr,yy city,india";

string[] sites = values.Split(',', '#', ';', ' ', '/', '\0', '&', '-');


foreach (string a in sites)
{
// Console.WriteLine(a);
Console.WriteLine("token number is\t{0} token'd string is\t{1}\tlength of the string is {2}", tokenIndex++, a, a.Length);


}

}
}

output shows first token is null... how to rectify it... only strings should be tokenized..pls help friends

the quieter u become more u hear

AnswerRe: tokenzing strings Pin
Wes Aday30-Jan-09 18:37
professionalWes Aday30-Jan-09 18:37 
AnswerRe: tokenzing strings Pin
Christian Graus30-Jan-09 18:47
protectorChristian Graus30-Jan-09 18:47 
GeneralRe: tokenzing strings Pin
lawrenceinba30-Jan-09 19:38
lawrenceinba30-Jan-09 19:38 
GeneralRe: tokenzing strings Pin
Christian Graus30-Jan-09 20:20
protectorChristian Graus30-Jan-09 20:20 
GeneralRe: tokenzing strings Pin
lawrenceinba30-Jan-09 20:37
lawrenceinba30-Jan-09 20:37 
GeneralRe: tokenzing strings Pin
Christian Graus30-Jan-09 21:02
protectorChristian Graus30-Jan-09 21:02 
GeneralRe: tokenzing strings Pin
lawrenceinba30-Jan-09 22:33
lawrenceinba30-Jan-09 22:33 
GeneralRe: tokenzing strings Pin
#realJSOP30-Jan-09 23:47
professional#realJSOP30-Jan-09 23:47 
AnswerRe: tokenzing strings Pin
Najmal31-Jan-09 3:48
Najmal31-Jan-09 3:48 
Questionxml file encryption and decryption Pin
vishnukamath30-Jan-09 18:06
vishnukamath30-Jan-09 18:06 
AnswerRe: xml file encryption and decryption Pin
Christian Graus30-Jan-09 18:50
protectorChristian Graus30-Jan-09 18:50 
AnswerRe: xml file encryption and decryption Pin
Najmal31-Jan-09 3:51
Najmal31-Jan-09 3:51 
QuestionClass Decleration Pin
NazarHussain30-Jan-09 18:03
NazarHussain30-Jan-09 18:03 
AnswerRe: Class Decleration Pin
Christian Graus30-Jan-09 18:36
protectorChristian Graus30-Jan-09 18:36 
GeneralRe: Class Decleration Pin
NazarHussain30-Jan-09 18:40
NazarHussain30-Jan-09 18:40 
GeneralRe: Class Decleration Pin
Christian Graus30-Jan-09 18:51
protectorChristian Graus30-Jan-09 18:51 
Questionproblem with threads Pin
prasadbuddhika30-Jan-09 17:28
prasadbuddhika30-Jan-09 17:28 

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.