Method.TerminateString() Terminates the STRING psIn at position udiLength
various renames and added some new methods