[sword-devel] Check if a key is valid

Matthias Lindner two4god at gmail.com
Sat Feb 8 02:40:58 MST 2020


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.crosswire.org/pipermail/sword-devel/attachments/20200208/f7ad0d4a/attachment.html>


More information about the sword-devel mailing list