If you just want to check that the first character of the string is not space (as opposed to stripping off leading whitespace) just check the first character using fieldname[0]. Depending on your requirements it may be more user friendly just to strip off whitespace using strip or strip!
Colin