Splitting a string into separate variables January 23, 2023 by Tarik Like this? $string = 'FirstPart SecondPart' $a,$b = $string.split(' ') $a $b