Split integer

Can someone tell me if there is a way to split an integer?
I have an integer, let’s say 18 and I want to split it so I get 1 and 8.
Thanks and regards

Hi @Jsandell,

char[] characters = 18.ToString().ToCharArray()
characters(0)->you will get 1
characters(1)->you will get 8

Regards, Arivu :slight_smile:


@Jsandell check attached file

Main.xaml (6.4 KB)

@arivu96 @indra Perfect, thank you so much!