Click here to Skip to main content
15,909,898 members
Home / Discussions / C#
   

C#

 
GeneralRe: strange behaviour of SendMessage() Pin
Dave Kreskowiak28-Jan-05 18:11
mveDave Kreskowiak28-Jan-05 18:11 
GeneralRe: strange behaviour of SendMessage() Pin
Adnan Siddiqi28-Jan-05 19:40
Adnan Siddiqi28-Jan-05 19:40 
GeneralRe: strange behaviour of SendMessage() Pin
Dave Kreskowiak29-Jan-05 4:32
mveDave Kreskowiak29-Jan-05 4:32 
GeneralDo events?? (C# Newbi) Pin
Dwayner7928-Jan-05 7:13
Dwayner7928-Jan-05 7:13 
GeneralRe: Do events?? (C# Newbi) Pin
Dave Kreskowiak28-Jan-05 7:37
mveDave Kreskowiak28-Jan-05 7:37 
GeneralRe: Do events?? (C# Newbi) Pin
Dwayner7928-Jan-05 9:01
Dwayner7928-Jan-05 9:01 
GeneralRe: Do events?? (C# Newbi) Pin
Carl Mercier28-Jan-05 9:40
Carl Mercier28-Jan-05 9:40 
GeneralRe: Do events?? (C# Newbi) Pin
Dwayner7928-Jan-05 9:43
Dwayner7928-Jan-05 9:43 
GeneralRe: Do events?? (C# Newbi) Pin
Skynyrd28-Jan-05 9:54
Skynyrd28-Jan-05 9:54 
GeneralRe: Do events?? (C# Newbi) Pin
Dwayner7928-Jan-05 10:26
Dwayner7928-Jan-05 10:26 
GeneralRe: Do events?? (C# Newbi) Pin
Skynyrd28-Jan-05 11:32
Skynyrd28-Jan-05 11:32 
GeneralRe: Do events?? (C# Newbi) Pin
therealmccoy28-Jan-05 17:56
therealmccoy28-Jan-05 17:56 
GeneralRe: Do events?? (C# Newbi) Pin
Dave Kreskowiak28-Jan-05 10:18
mveDave Kreskowiak28-Jan-05 10:18 
GeneralRe: Do events?? (C# Newbi) Pin
Dwayner7928-Jan-05 10:34
Dwayner7928-Jan-05 10:34 
Generalpassing data from one form to another Pin
steve_rm28-Jan-05 4:06
steve_rm28-Jan-05 4:06 
GeneralRe: passing data from one form to another Pin
Bahadir Cambel28-Jan-05 11:45
Bahadir Cambel28-Jan-05 11:45 
GeneralHelp On Serialization Pin
fmarcos28-Jan-05 2:05
fmarcos28-Jan-05 2:05 
GeneralCustomize Control Pin
jzb28-Jan-05 0:04
jzb28-Jan-05 0:04 
GeneralRe: Customize Control Pin
spif200128-Jan-05 1:33
spif200128-Jan-05 1:33 
GeneralSubstring's problem Pin
jzb27-Jan-05 23:50
jzb27-Jan-05 23:50 
GeneralRe: Substring's problem Pin
mav.northwind28-Jan-05 0:01
mav.northwind28-Jan-05 0:01 
GeneralRe: Substring's problem Pin
jzb28-Jan-05 0:15
jzb28-Jan-05 0:15 
GeneralRe: Substring's problem Pin
mav.northwind28-Jan-05 0:27
mav.northwind28-Jan-05 0:27 
With .NET, one character is not equal one byte!
Substring() gets the character position to start and the number of characters to return.

So calling
"これはテストです".Substring(1,1) returns "れ"
"これはテストです".Substring(2,1) returns "は"
"これはテストです".Substring(2,2) returns "はテ"

mav
(who's using strange characters he doesn't recognize or understand and hopes he didn't write anything obscene... Cool | :cool: )
GeneralRe: Substring's problem Pin
Colin Angus Mackay28-Jan-05 4:33
Colin Angus Mackay28-Jan-05 4:33 
GeneralRe: Substring's problem Pin
mav.northwind28-Jan-05 4:46
mav.northwind28-Jan-05 4:46 

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.