.. highlightlang:: us .. _strlen: strlen ====== .. index:: strlen .. us.tag strlen ENGLISH STR Changed420 :ref:`strlen` returns the length of a string in bytes. .. function:: rmLen = strlen(smString) .. us.return **Return Value** *rmLen* is a real matrix containing the length of strings in *smString*. .. us.params **Parameters** .. uparam:: smString *smString* is a string matrix. .. us.history **History** .. list-table:: :header-rows: 1 * - Version - Description * - 4.2.0 - The function counts only characters to the first "\x00"-character (see :ref:`mem_len`). .. seealso:: :ref:`overview-strings`, :ref:`size`, :ref:`len` :sub:`id-444241`