Gentee Programming Language > Documentation > Libraries Download documentation

str.substr

Get a substring. The result substring will be written over the existing string in the first method.
 
str str.substr(
      uint   off,
      uint   size
)

Parameters

offSubstring offset.
sizeSubstring size.



 
str str.substr(
      str   src,
      uint   off,
      uint   size
)

Parameters

srcInitial string.
offSubstring offset.
sizeSubstring size.

Return value

Returns the object which method has been called.

See also

    Strings


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