getCharAt()

getCharAt() is used to return a character that takes the specified position in the string variable value. The method needs an integer argument that specifies the position. Here, 1 stands for the first character in the buffer sting. If the specified character does not exist, the method returns NULL.

LET mystr = "My string variable value"

DISPLAY mystr.GetCharAt(5) -- displays "t"

DISPLAY mystr.GetCharAt(3) -- displays a whitespace " "

An invalid position will make the method return a blank. 

 

Contact Us

Privacy Policy

Copyright © 2026 Querix, (UK) Ltd.