Godot Version
4.2.1
Question
Hi, total newbie walking through tutorials, and this site, first post here.
Wondering if there is a function to extract a length of characters from a string, from a starting position?
The term is called Mid in VB6, I couldn’t see it in the help files or any variation of it. (I might be blind to new terminology.)
It looks like this in practice. ie: MyString = Mid(string, start, length)
VB reference:
Example:
MyString = "Mid Function Demo" ' Create text string.
FirstWord = Mid(MyString, 1, 3) ' Returns "Mid".
LastWord = Mid(MyString, 14, 4) ' Returns "Demo".
I use this funciton a lot for data compression with SQL.
Many thanks if someone can point me to the GDScript term.