Strings

BlitzMax Forums/BlitzMax Beginners Area/Strings

Hi, if i have an string A how can i extract a string B of it?

Let me explain

A:string = "Hello who are you?"

Knowing for example the position of w (7) how can i extract "who are you?" and insert it on a B string?

B:String = Mid(A,7,12)
or you can do
B:String = Right(A,12)

or you can use slices

Print A[6..]

Thank you!