In a WinForms textbox with multiple whitespaces (e.g. 1 1 A), where, between the 1s, there is whitespace, how could I detect this via the string methods or regex?
use IndexOf
if( "1 1a".IndexOf(' ') >= 0 ) { // there is a space. }