Function Expand(s As WString) as WString Ptr Dim buf As WString Ptr Dim i As Integer
buf = Allocate((Len(s) * 2) * Len(WString)) *buf = s For i = 1 To Len(s) If Asc(Mid(s, i, 1)) > 256 Then *buf = *buf & Space(1) End If Next Expand = buf End Function