#string-manipulation

[ follow ]
#python
fromRealpython
1 week ago
Python

Strip Characters From a Python String - Real Python

Use Python's .strip(), .lstrip(), .rstrip() to remove whitespace or specified characters from string ends; use .removeprefix()/.removesuffix() for exact sequences.
fromMedium
3 weeks ago

Crack Scala Interviews: 3 Questions Every Spark/Scala Engineer Should Know

When it comes to Scala interviews, the trick isn't just solving problems - it's solving them the Scala way.Interviewers are often less interested in whether you can code something and more curious about how you think, use language features, and write clean functional code. In this article, I'll walk through three interview-style Scala questions. Each question is designed to test a different dimension of your Scala skill set - from string manipulation to functional collections and stack-based problem solving.
Software development
[ Load more ]