SIL.FieldWorks.WordWorks.Parser.ParserScheduler.IsOneWord C# (CSharp) Method

IsOneWord() public static method

Determine if the wordform is a single word or a phrase
public static IsOneWord ( string sWord ) : bool
sWord string wordform
return bool
		public static bool IsOneWord(string sWord)
		{
			var acSpaceTab = new[]{ ' ', '	' };
			var i = sWord.IndexOfAny(acSpaceTab);
			return (i <= -1) || (i >= sWord.Length);
		}
	}