scala split string multiple delimiters code example
Example 1: split string and create array bash
my_array=($(echo $string | tr "," "\n"))
Example 2: split string python
file='/home/folder/subfolder/my_file.txt'
file_name=file.split('/')[-1].split('.')[0]