hello world! i have strings that vary positioning for superfluous commas - sometimes extra commas in the middle, beginning or end of the string this is the method im using to clean up the string - but i dont think its the cleanest solution any ideas?  stringregexp perhaps?   Thanks in advance! #include <Array.au3> $msg_normal = 262144 $string = ",,,,asdf,as32,,,3k2,as12," $array = StringSplit($string, ",") debug($array) $new_string = "" for $x = 1 to UBound($array)-1 if