Button for 1977 Button for 1984 Button for 1990 Button for 1995 Button for MDC Button for notes Button for examples

$LENGTH

1984 Version of ANSI Standard

3.2.8 Functions function

$L[ENGTH]( expr )

returns an integer which is the number of characters in the value of expr. If the value of expr is the empty string, $L(expr) returns the value 0.

$L[ENGTH]( expr1, expr2 )

returns the number plus one of nonoverlapping occurrences of expr2 in expr1. If the value of expr2 is the empty string, then $L returns the value 0.

See also the transition diagram for $Length.

Button for 1977 Button for 1984 Button for 1990 Button for 1995 Button for MDC Button for notes Button for examples

Copyright © Standard Documents; 1977-2024 MUMPS Development Committee;
Copyright © Examples: 1995-2024 Ed de Moel;
Copyright © Annotations: 2003-2008 Jacquard Systems Research
Copyright © Annotations: 2008-2024 Ed de Moel.

This page most recently updated on 13-Sep-2014, 17:19:47.

For comments, contact Ed de Moel (demoel@jacquardsystems.com)