isisbn
Syntax
stat = ISISBN(isbn)
Arguments
stat: integer
isbn: text
Meaning
stat will be 1 if isbn is a valid ISBN code (either 10 or 13-digit), and 0 if it is not.
Example 1
stat = ISISBN('0-07-027988-8')
Result
stat is 1.
Example 2
stat = ISISBN('12345')
Result
stat is 0.
Example 3
stat = ISISBN('978-0-07-027988-9')
Result
stat is 1.