Hi Matthias, I have just added an example to show how to check if a string is a valid verse reference:
http://crosswire.org/svn/sword/trunk/examples/classes/versevalid.cpp Hope this helps, Troy On 2/8/20 2:40 AM, Matthias Lindner wrote: > Hi alltoghether, > > I try to implement a Bible App which has a Multipurpose search field.. > (so you can either type in a Bibleverse or a searchstring) > > So i need to find out if the typed in string is a valid key or not.. > i tried several methods also with the returned char error.. but non of > them > really returned a real error when i handed over a crazy String like > "test test test" instead it just set the key to revelation of jhon.. > > Any hints how to check if a handed over char ikey can be tested if > its valid? > > blessings > Matthias aka Paradoxon > > > _______________________________________________ > sword-devel mailing list: [email protected] > http://www.crosswire.org/mailman/listinfo/sword-devel > Instructions to unsubscribe/change your settings at above page
_______________________________________________ sword-devel mailing list: [email protected] http://www.crosswire.org/mailman/listinfo/sword-devel Instructions to unsubscribe/change your settings at above page
