Skip to content

Instantly share code, notes, and snippets.

@R0mb0
Last active March 5, 2025 12:45
Show Gist options
  • Save R0mb0/8ecceee90db41b3b695b145d2431d292 to your computer and use it in GitHub Desktop.
Save R0mb0/8ecceee90db41b3b695b145d2431d292 to your computer and use it in GitHub Desktop.
Function to get a character from a string using a index.
<%
Function get_character(index, text)
If IsNumeric(index) and index < Len(text) and Not(index < 0)Then
get_character = Left(Right(text,(Len(text) - index)), (1))
End If
End Function
%>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment