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

$LENGTH

1990 Version of ANSI Standard

2.2.7.9 $Length

$L[ENGTH] ( expr )

See 2.3 for the definition of expr.

This form 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 )

See 2.3 for the definition of expr.

This form 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.

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)