Don't use String. It will eventually cause a mysterious crash. Use null-terminated C strings instead.
Pete