I need to split a $string into $subString's of characters wight different length. The name of the substring ($var) and it's length ($noChar) is given in a @list.
Now here is the tricky part. The @list changes (so does the $string) from time to time (I can get the list in @ or %), so I have to the split the $string in $subString's depending on the content of the @list at the moment. In the end I have to end up with a @anotherList of $var, $subString.
10x ahead...