[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
st: extended function: piece
Any reason why piece doesn't appear to allow the length of pieces to be 1?
. local subpiece: piece 2 1 of "abcdefghi"
SYNTAX: piece #piece_number #length_of_pieces of [`]"string"['] [,
<-- no restriction is mentioned on the STATA help system.
And is piece going to be computationally faster than substr?
Adrian Mander MSc PhD, Principal Statistician, GlaxoSmithKline, Mail Code
HW8133, New Frontiers Science Park (South), Harlow, Essex, CM19 5AW. Tel:
01279 63 1203 Fax: 01279 64 4003
* For searches and help try: