strlen Retrieves the length of a string. In contrast to the Binlen function Strlen does not return the data length, but returns the number of characters before the first '\0' (null) character.