.. efun:: int strlen(string str) :deprecated: Returns the length of the string :arg:`str`. This efun is deprecated and replaced by :efun:`sizeof`. Please do not use it in new code and start to phase it out in old code. .. seealso:: :efun:`sizeof`