StrMid(Str 1, P, N)

This command extracts N characters after the position P.

You can also use StrLeft or StrRight.
Oh! Thank you so much! XD
EDIT: What's the difference between StrLeft and StrRight?
StrLeft(Str 1,N) returns the N first charaters of the string.

StrRight(Str 1,N) returns the N last charaters of the string.

You can do StrMid(Str 1,P,N)->Str 2 to extract a part of a string.
And ?->Str1 to enter a string.

To show a string, use the Exe-Mat menu in Linear mode.
Or display the string in a program with Locate 1,1,Str 1.

PS : I should add these commands to the wiki.
Register to Join the Conversation
Have your own thoughts to add to this or any other topic? Want to ask a question, offer a suggestion, share your own programs and projects, upload a file to the file archives, get help with calculator and computer programming, or simply chat with like-minded coders and tech and calculator enthusiasts via the site-wide AJAX SAX widget? Registration for a free Cemetech account only takes a minute.

» Go to Registration page
Page 2 of 2
» All times are UTC - 5 Hours
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum