Please guy's how do I solve this question using pascal? just new here and in programming. Am using free pascal.

In the given string of characters move all the letters to the beginning of the line, and digits to the end of the line.
For example: the string "a13Bc1de2F G.! Hi8Kl90" - "aBcdeFGHiKl .! 1312890"

Thanks for your help.

Use a loop for each character, in it build two strings (letters, numbers). After the loop is finished, concatenate them.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.