# E0228

Unknown method, variant, or associated function, or an associated function called on a value.

**Machine-applicable fix:** Replace the name with the single closest member, when one is close enough.

## Example

This program fails with `E0228`.

```oska
fn main() {
    let t = "  hi ".trimm()
}
```

## Fixed

The same program, fixed.

```oska
fn main() {
    let t = "  hi ".trim()
}
```

Listed in the [checker notes](/checker.md#e0228). `oskac explain E0228` prints this entry offline.