Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to test if a character is null
Message
 
To
09/01/2005 16:14:22
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
00975519
Message ID:
00975551
Views:
13
Thanks for that Bonnie,
regards,
Gerard

>Gerard,
>
>Char 0 (zero) is null, so test like this:
>
>  If (Mychar = (char)0)
>    { return true}
>  else
>   { return false}
>
>
>~~Bonnie
>
>
>>Hi.
>>How do I test if a character is null ?
>>
>>Pseudo code ? that does'nt work because MyChar is type Char and NUll is an object ?
>>{
>> If (Mychar = null)
>> { return true}
>> else
>> { return false}
>>}
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform