How do I extract a substring starting at char n?

General discussion on mikroBasic PRO for PIC.
Post Reply
Author
Message
Eriond
Posts: 2
Joined: 30 Jan 2014 10:14

How do I extract a substring starting at char n?

#1 Post by Eriond » 04 Oct 2019 08:08

I've been searching the help files and this forum, but I can't find if there is a library or built-in function that returns all, or some finite amount of characters in a string starting at position n?

User avatar
stefan.filipovic
mikroElektronika team
Posts: 1135
Joined: 18 Dec 2018 10:30

Re: How do I extract a substring starting at char n?

#2 Post by stefan.filipovic » 07 Oct 2019 12:01

Hi,

I suggest you take a look at the example project from the following path:
C:\Users\Public\Documents\Mikroelektronika\mikroBasic PRO for PIC\Examples\Other\String
Check there a memcpy and a memmove function examples.

Kind regards,
Stefan Filipović

Post Reply

Return to “mikroBasic PRO for PIC General”