Public feed #601744

Anonymous

public text v1 · immutable
Raw Edit
·published 2007-07-03 18:07 UTC
rendered paste body
localhost*CLI> show function CUT
localhost*CLI>
  -= Info about function 'CUT' =-

[Syntax]
CUT(<varname>,<char-delim>,<range-spec>)

[Synopsis]
Slices and dices strings, based upon a named delimiter.

[Description]
  varname    - variable you want cut
  char-delim - defaults to '-'
  range-spec - number of the field you want (1-based offset)
             may also be specified as a range (with -)
             or group of ranges and fields (with &)