AX regarding string split

Hi,

I have a requirement a i have string like"abc/def/fg’ ,i wnat split abc as one string ,def as another string,without specifying the positions,but specifying the separators,i cant able ot use substring() function since it needs position …can anyone help me…

… make it easy using Str2Con(str _value, [str _sep]) -funtion