Software engineering and personal development

Tag: word

How to Quickly Split a String on the First N Occurrences in Python

brown wooden blocks on white surface
Photo by Brett Jordan on Unsplash

You have probably seen cases when you can do splits of strings into multiple parts based on a pattern that is observed in the string. For example, let us say that we want to save all the words that are part of a sentence. 

To do that, we usually try to do split the sentence into words based on the spaces that we find, such as:

Continue reading

Save code formatting when copying from an IDE/editor to Microsoft Word

If you ever needed to paste a code that you have written in your favorite IDE or editor inside Microsoft Word and do not want to lose your formatting, then PlanetB is a really great tool that gives you that opportunity. It has a really easy-to-use user interface. It comes with the support for several programming languages like: C/C++, C#, CSS, Delphi, Pascal, XML, Java, Javascript, PHP, Python, Ruby, SQL, VB and HTML. Continue reading

© 2024 Fatos Morina

Theme by Anders NorenUp ↑