Click here to Skip to main content

Welcome to the Lounge

   

For lazing about and discussing anything in a software developer's life that takes your fancy.
The Lounge is rated PG. If you're about to post something you wouldn't want your kid sister to read then don't post it. No flame wars, no abusive conduct and please don't post ads.

Technical discussions are welcome, but if you need specific help please use the programming forums.


 
GeneralRe: Beating the compiler PinprofessionalPIEBALDconsult14-Jun-13 16:42 
GeneralRe: Beating the compiler PinmemberBillWoodruff14-Jun-13 20:39 
GeneralRe: Beating the compiler PinmemberKlaus-Werner Konrad15-Jun-13 12:07 
GeneralRe: Beating the compiler PinmemberBillWoodruff15-Jun-13 15:57 
GeneralRe: Beating the compiler PinmemberA. A. J. Rodriguez17-Jun-13 3:33 
GeneralRe: Beating the compiler Pinmemberahmed zahmed16-Jun-13 6:18 
GeneralRe: Beating the compiler PinmemberBillWoodruff16-Jun-13 15:21 
GeneralRe: Beating the compiler PinmemberJeremy Hutchinson17-Jun-13 2:19 
Ron Beyer wrote:
Just hope that number is a whole number

 
Well obviously you'd just do something like this:
 
if (s.IndexOf(".") > 0 && s.IndexOf(".") != s.Length - 1)
{
    return false;
}
 
Unsure | :~

GeneralRe: Beating the compiler PinprofessionalRon Beyer17-Jun-13 5:04 
GeneralRe: Beating the compiler PinmemberJeremy Hutchinson17-Jun-13 5:13 
GeneralRe: Beating the compiler Pinmemberirneb17-Jun-13 23:12 
GeneralRe: Beating the compiler Pinmemberjschell14-Jun-13 12:05 
GeneralRe: Beating the compiler Pinmemberharold aptroot14-Jun-13 12:22 
GeneralRe: Beating the compiler PinmemberCornelius Henning14-Jun-13 14:08 
GeneralRe: Beating the compiler Pinmemberahmed zahmed16-Jun-13 6:45 
GeneralRe: Beating the compiler Pinmemberharold aptroot16-Jun-13 7:41 
GeneralRe: Beating the compiler PinmemberKirk Wood17-Jun-13 5:53 
GeneralRe: Beating the compiler Pinmemberirneb17-Jun-13 23:11 
GeneralStuck in a deadlock situation. Non technical question related to asp. Pinmembercluelessentity14-Jun-13 8:15 
GeneralRe: Stuck in a deadlock situation. Non technical question related to asp. Pinmemberjesarg14-Jun-13 8:29 
AnswerRe: Stuck in a deadlock situation. Non technical question related to asp. PinmemberMaximilien14-Jun-13 8:33 
GeneralRe: Stuck in a deadlock situation. Non technical question related to asp. PinmemberSteve Maier14-Jun-13 8:54 
GeneralRe: Stuck in a deadlock situation. Non technical question related to asp. PinprofessionalNorm .droid14-Jun-13 9:05 
GeneralRe: Stuck in a deadlock situation. Non technical question related to asp. PinprofessionalRon Beyer14-Jun-13 9:27 
GeneralRe: Stuck in a deadlock situation. Non technical question related to asp. Pinmemberjesarg14-Jun-13 10:39 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.


Advertise | Privacy | Mobile
Web01 | 2.8.140916.1 | Last Updated 20 Sep 2014
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid