<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Hi Matthias,</p>
<p>I have just added an example to show how to check if a string is
a valid verse reference:</p>
<p><a
href="http://crosswire.org/svn/sword/trunk/examples/classes/versevalid.cpp">http://crosswire.org/svn/sword/trunk/examples/classes/versevalid.cpp</a></p>
<p>Hope this helps,</p>
<p>Troy</p>
<p><br>
</p>
<div class="moz-cite-prefix">On 2/8/20 2:40 AM, Matthias Lindner
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CALys0LWkp7-O8fY_MzAdJLXx3sL=_bLtASMbLZLv1bSkHTOX-Q@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="ltr">
<div dir="ltr">
<div>Hi alltoghether,</div>
<div><br>
</div>
<div>I try to implement a Bible App which has a Multipurpose
search field.. </div>
<div>(so you can either type in a Bibleverse or a
searchstring)</div>
<div><br>
</div>
<div>So i need to find out if the typed in string is a valid
key or not..</div>
<div>i tried several methods also with the returned char
error.. but non of them</div>
<div>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.. </div>
<div><br>
</div>
<div>Any hints how to check if a handed over char ikey can be
tested if its valid?</div>
<div><br>
</div>
<div>blessings</div>
<div>Matthias aka Paradoxon</div>
<div><br>
</div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
sword-devel mailing list: <a class="moz-txt-link-abbreviated" href="mailto:sword-devel@crosswire.org">sword-devel@crosswire.org</a>
<a class="moz-txt-link-freetext" href="http://www.crosswire.org/mailman/listinfo/sword-devel">http://www.crosswire.org/mailman/listinfo/sword-devel</a>
Instructions to unsubscribe/change your settings at above page</pre>
</blockquote>
</body>
</html>