Re: isPalendrome function
No such thing as
The function should just return a FLAG. You are going about it the wrong way. Don't try to reverse the original string. Create a copy, and reverse that.
Re: isPalendrome function
Here's a function to reverse text if you need one:
# Private Function Reverse(ByVal Input As String)
Dim CharNbr As Int16, ReverseString As String
Dim StringArray() As Char = Input.ToCharArray
For CharNbr = UBound(StringArray) To 0 Step -1
ReverseString &= StringArray(CharNbr)
Next
Return ReverseString
End Function
#
Re: isPalendrome function
That is for numbers, not text
Re: isPalendrome function
Not sure I understand you. The original post wanted to reverse a string and that's what the function does.
Re: isPalendrome function
My mistake. Sorry.
You probably get an A+ on the quiz