Determine if string ends in whitespace
        Posted  
        
            by TesterTurnedDeveloper
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by TesterTurnedDeveloper
        
        
        
        Published on 2010-06-08T02:26:26Z
        Indexed on 
            2010/06/08
            2:32 UTC
        
        
        Read the original article
        Hit count: 266
        
Given a string that ends in a whitespace character return true.
I'm sure I should be able to do this with regular expressions but I'm not having any luck.  MSDN reference for regular expressions tells me that \s should match on a whitespace, but I can't figure the rest out.
© Stack Overflow or respective owner