.. highlightlang:: us .. _obj_count_str: obj_count_str ============= .. index:: obj_count_str .. us.tag obj_count_str NOTREADYGERMAN New410 obj :ref:`obj_count_str` liefert die Anzahl an Elementen mit String-Keys in einem Objekt. .. function:: n = obj_count_str(obj) .. us.return **Returnwert** *n* ist die Anzahl an Elementen mit String-Keys im Objekt. .. us.params **Parameter** .. uparam:: obj *obj* ist ein mit :ref:`obj_create` erzeugtes Objekt. .. us.comment **Kommentar** Die alternative Syntax zu ``n = obj_count_str(obj)`` ist ``n = obj.count_str()``. .. us.example **Beispiel** :: obj = obj_create() obj.a = 123 obj.b = 456 print obj.count_str() // druckt 2 .. seealso:: :ref:`uberblick-uniscript-objekte`, :ref:`obj_count`, :ref:`obj_count_num` :sub:`id-1528563`