# `TDTokenizer tokenizerWithString:`

*Type Method*

## Declaration

```swift
class func tokenizer(with s: String?) -> Any
```

```objc
+ (id) tokenizerWithString:(NSString *) s;
```

```python
tokenizerWithString_(s: str) -> object
```

## Parameters

- `s` — String to read from.

## Return Value

An autoreleased initialized tokenizer.

## Discussion

Convenience factory method.

