.. highlightlang:: us .. _mem_len: mem_len ======= .. index:: mem_len .. us.tag mem_len ENGLISH mem New420 Changed500 :ref:`mem_len` returns the length in bytes of a scalar string or a matrix of strings. .. function:: rmBytes = mem_len(smString) .. us.return **Return Value** *rmBytes* is the number of bytes. .. us.params **Parameters** .. uparam:: smString *smString* is a string matrix. .. us.example **Example** :: * strlen("Hello\x00Hello") 5.0000 * mem_len("Hello\x00Hello") 22.0000 .. us.history **History** .. list-table:: :header-rows: 1 * - Version - Description * - 4.2.0 - New. .. seealso:: :ref:`overview-strings`, :ref:`strlen` :sub:`id-353731`