# StringLen()

returns the len of a string

```
StringLen( string=string );
```

**Returns:** number

# Arguments

| Argument | Type | Required | Description | Default |
|----------|------|----------|-------------|---------|
| string | string | Yes | A string or a variable that contains one |  |

# Examples

```1
writeDump(stringLen("Lucee"));//5
//Member function
str="I love Lucee";
writeDump(str.Len());//12
```







# Categories

[Strings](../../categories/string.md)

# See Also

[Len()](len.md), [string.len()](../objects/string/len.md)