powered by
valid.hetu(hetu)
hetu
valid.hetu("010101-0101") # TRUE valid.hetu("010101-010A") # FALSE
Run the code above in your browser using DataLab