Fltbuff7197 Posted September 21, 2022 Report Share Posted September 21, 2022 (edited) *** Moved from FAQ sub-forum to main support forum *** Apparently chars vs numbers cause issue when dealingg with strings... I wanted to grab text from the end of ipc.readSTR(0x0130, 256) which is the loaded flight plan .pln file zzz = ipc.readSTR(0x0130, 256) xyz = string.sub (zzz, -22) abc=ipc.ask("here" .. xyz, WHITE) returns nothing... but if I hardcode zzz with "data within double quotes" last 22 chars are returned how do i make this work in a simple solution ? Edited September 21, 2022 by John Dowson Moved to main support forum Link to comment Share on other sites More sharing options...
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
Already have an account? Sign in here.Sign In Now