Gentee Programming Language > Documentation > Libraries Download documentation

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.
 
str str.setlen(
      uint   size
)

Parameters

sizeNew string size.

Return value

Returns the object which method has been called.

See also

    Strings


 Copyright © 2004-2006 Gentee Inc. All rights reserved.