9951 explained code solutions for 126 technologies


pythonHow to split string by colon


str = 'a:b:c:d'
list = str.split(':')ctrl + c
a:b:c:d

sample string to split

str.split(

will split string by specified character

':'

split string by colon