简单的编码分配:从文本框中获取文本并将其翻转,使其成为反语:
ie Hello My Name Is David 将是“divad si eman ym olleh”(程序不必匹配大小写,只需匹配字母)
这是我找到的,你还有其他方法吗?
Dim str As String = Textbox1.Text
Dim arr As New List(Of Char)
arr.AddRange(str.ToCharArray)
arr.Reverse()
For Each l As Char In arr
lblOne.Text &= l
Next