Jump to content

Getting a character in string by index


Recommended Posts

I have a string "hello"

Is there a way to reference specific characters in the string by index?

In python I could just use subscripts.

In java I would just use charAt.

EDIT: I could use StringMid($myString, $index, 1), but that seems tedious whenever I want to get a character from a string.

Edited by Tsukihime
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...