Forum > Beginners

Split a string in words

<< < (3/3)

funlw65:
Wow, thank you all for the solutions!


--- Quote from: PascalDragon on January 05, 2022, 09:24:52 am ---
--- Quote from: funlw65 on January 05, 2022, 05:33:20 am ---Thank you for the links, I prefer not to use dynamic allocation...

--- End quote ---

Why not? Are there specific reasons for that? Cause you're restricting yourself quite a bit without that.

--- End quote ---

Microcontroller programming habits... I will save it for later, more complex projects in pascal.

And Print function of the forum comes in handy  :)

Thaddy:

--- Quote from: funlw65 on January 05, 2022, 03:21:53 pm ---Microcontroller programming habits... I will save it for later, more complex projects in pascal.

--- End quote ---
In that case -microcontrollers - a more basic loop that does not rely on other units  like sysutils and strutils is the better solution.
Then you don't want to draw in so much code. (my code for example draws in a lot of code too. Most examples given here do so)
For mc's it is often better to do everything by hand, without relying on too many libraries.
For programming on e.g. windows and linux, the given examples can make your life much easier, though.

Navigation

[0] Message Index

[*] Previous page

Go to full version