EnglishРусский  
 Share/Save/Bookmark
 

Ads

Installer and installation software
Commercial and Freeware installers.

str.setlen

Setting a new string size. The method does not reserve space. You cannot specify the size of a string greater than the reserved space you have. Mostly, this function is used for specifying the size of a string after external functions write data to it.

method str str.setlen (
   uint len
)

Parameters

len New string size.

Return value

Returns the object which method has been called.


str.setlenptr

Recalculate the size of a string to the zero character. The function can be used to determine the size of a string after other functions write data into it.

method str str.setlenptr()

Related links

Source