This commit removes the text char[] in favor of the text String introduced through the PR. Closes gh-30138