company logo

String :: left - Get leftmost characters of the string

The function returns a substring that contains the iCount of leftmost characters (units) of the string.

The entire string is returned if iCount is greater than lengthInUnits() or less than zero. Passing 0 in iCount returns an empty string.

Return value:  String value ( odaba::String & )

Implementation details

odaba::String String  :: left ( int32 iCount )
  • iCount - Number of items

    The value contains the number of items to be processed or stored in a collection.