using System.Text; def message = "How long am I anyways?"; def bytelength = Encoding.Unicode.GetByteCount(message);