public static int GetVerseFromKey(string bibleKey) { string[] keySplit = Formatters.CreateBibleKeySplit(bibleKey); if (keySplit.Length == 3 && keySplit[0].IsNumberic()) { return(1); } return(keySplit.Length >= 4 ? keySplit[3].ToInt32() : 1); }
public static int GetVerseFromKey(string bibleKey) { string[] keySplit = Formatters.CreateBibleKeySplit(bibleKey); return(keySplit.Length >= 4 ? keySplit[3].ToInt32() : -1); }