strlen

Gamma: Version 4.0
Prev |  | Next

# `strlen`

`strlen` -- counts the number of characters in a string.

## Syntax

    strlen (string)

## Arguments

`string`

  A string.

## Returns

The number of characters in the `string`.

## Example

        Gamma> strlen("Hello");
        5
        Gamma> strlen("How about a cup of coffee?");
        26
        Gamma>

## See Also

`length`

Prev | Home | Next
`string_to_buffer` | Up | `strncmp`, `strnicmp`

Copyright 1995-2002 by Cogent Real-Time Systems, Inc.