# Separator

In this article, you will find information about the different ways to add a `Separator` between the OTPInput items. The option accepts a string and can be configured to use an SVG icon. In order for the configuration to work, there must be at least 2 `OTPInputItems`.

The below example demonstrates how to add a separator as a string.

```ASP.NET
<telerik:RadOTPInput ID="RadOTPInput1" runat="server" Separator="-">
    <ItemsCollection>
        <telerik:OTPInputItem GroupLength="3" />
        <telerik:OTPInputItem GroupLength="3" />
    </ItemsCollection>
</telerik:RadOTPInput>
```

The next example shows how to add a separator as a function using the [`kendo.ui.icon`](https://www.telerik.com/kendo-jquery-ui/documentation/api/javascript/ui/ui/methods/icon) method.

```ASP.NET
<telerik:RadOTPInput ID="RadOTPInput1" runat="server" Separator="-">
    <ItemsCollection>
        <telerik:OTPInputItem GroupLength="3" />
        <telerik:OTPInputItem GroupLength="3" />
    </ItemsCollection>
    <ClientEvents OnLoad="onLoad" />
</telerik:RadOTPInput>
```

```JavaScript
function onLoad(sender, args) {
    let newSeparator = () => $telerik._kendo.ui.icon({ icon: "minus", type: "svg" });
    sender.set_separator(newSeparator);
}
```

## Next Steps

* [Adaptiveness](https://www.telerik.com/products/aspnet-ajax/documentation/controls/otpinput/adaptiveness)
* [Accessibility](https://www.telerik.com/products/aspnet-ajax/documentation/controls/otpinput/accessibility-and-internationalization/overview)
* [Client-side Programming](https://www.telerik.com/products/aspnet-ajax/documentation/controls/otpinput/client-side-programming/overview)
* [Server-side Programming](https://www.telerik.com/products/aspnet-ajax/documentation/controls/otpinput/server-side-programming/overview)
