The result string is in title case format, such as “Vuong Tru Blog”, where the first letter of each word of a string is uppercase and other letters should be lowercase. I am going to give you some solutions right now and these work for Unicode as well.
I write articles about solutions, tips, and tricks for whatever problems I have encountered.
In this article, I am going to show you some ways to remove the last character from a string. There is a way that you do not need to care about the length of the string.
In this article, I am going to show you some ways to get the last character of a string. There is a way that you do not need to care about the length of the string.
In this article, I am going to show you some ways to get not just the first character but any character at any position of a string.
Do you want to convert a number from one base to another? Just keep reading this article.
If you have an HTML string and you want to manipulate it as a real DOM element such as positioning or adding classes to its inner elements, you need to convert that string to a DOM element. I am going to show you how to do that step-by-step.
In this article, I am going to show you how to enter the copy mode of a Screen session to work with its paste buffer.
When working in a Linux Screen session using the “screen” command, you have to enter that Screen’s scrollback mode to scroll up and down.
Have you ever had a headache finding a solution to connect to an unreachable computer, which is behind the router and you do not have permission to configure NAT? If the answer is yes, this article is for you.
If you have ever used cURL to retrieve the output of a file, believe me, saving that output to a file only takes a few more characters.
In this article, I am going to show you how to use a proxy with cURL.
In this article, I am going to show you how to use basic authentication with cURL.
When installing a Debian package, I often encounter this error. Fortunately, fixing it is pretty easy.
An upsert operation updates an existing document or inserts a new one. But, using array update operators such as $addToSet or $push may lead to errors, when the query contains the corresponding field predicate and the insert-case is activated. I will show you the case that I encountered and how to fix it.
Connecting to a remote server using an SSH key is quite simple. However, when you have a lot of keys or multiple GitHub accounts, problems may arise. In this article, I am going to show you how to generate and manage keys in a neat way.