Advertisement
ASP_Volume2 String Manipulation #38598

UCase to LCase & LCase to UCase Converter

THIS VERY COOL FUNCTION TAKES A NORMAL STRING AND CONVERT EVERY CHARACTER IN IT FROM UCase TO LCase OR FROM LCase TO UCase... CHECK IT OUT!! AND VOTE IF YOU FIND IT USEFUL

AI

AI Summary: This codebase represents a historical implementation of the logic described in the metadata. Our preservation engine analyzes the structure to provide context for modern developers.

Source Code
original-source
Public Function Convert(orgStr As String) As String
For Counter = 1 To Len(orgStr)
X = Mid(orgStr, Counter, 1)
If X = LCase(X) Then
  X = UCase(X)
Else
  X = LCase(X)
End If
Convert = Convert & X
Next
End Function
Original Comments (3)
Recovered from Wayback Machine