# string.second()

Detects and masks sensitive information (such as passwords, API keys, tokens, etc.) from a given string. 
The function identifies patterns commonly used for sensitive data and replaces them with a mask.

```
string.second( replacement=string )
```

**Returns:** string

# Arguments

| Argument | Type | Required | Description | Default |
|----------|------|----------|-------------|---------|
| replacement | string | No | The replacement string to use as a mask for sensitive data. If not specified, defaults to "****". *Alias: mask* |  |

# Examples

*There are currently no examples for this function*

# Categories

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

# See Also

[Sanitize()](../../functions/sanitize.md), [String](../string.md)