Utilities / Reference
alerta.str.startswith
TradingView-compatible spelling: str.startswith, runs without warnings
Checks if string starts with prefix.
alerta.str.startswith(source, prefix) → series boolParameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
source | series string | Yes | — | Source string. |
prefix | series string | Yes | — | Prefix. |
Returns
series boolExample
alerta.str.startswith
const isBinance = str.startswith(syminfo.tickerid, "BINANCE")Names and aliases
Guides and navigation are localized. Built-in reference descriptions and code examples are maintained in English.