The google books api returns a volumeid for each book. This volumeid is string like this
AZ5J6B1-4BoC
UvK1Slvkz3MC
OBM3AAAAIAAJ
So there are capital letters , small letters, characters like dash(-) underscore(_) etc
So is there a library that converts these characters to integer?
Also can I just convert the string to certain number like
[A-Z]=[0-25]
[a-z]=[26-50]
[special characters like -,_,]=[51-...]
Will the above self-cooked script good or are there certain standard functions in php that do the job?