Articles on Trending Technologies

Technical articles with clear explanations and examples

Renaming Linux Files in Batches

Bamdeb Ghosh
Bamdeb Ghosh
Updated on 08-May-2023 276 Views

Introduction If we want to rename any file in Linux, we use “mv” command. But mv command can only rename one file at a time, it can not rename multiple files at one time in terminal. If we want to rename multiples files then we have to use mv command in different way . Also there are other commands available like “rename” , “mmv”, “renameutils” etc. Though some of these commands are not installed default in Linux , we need to install them separately. In this artile, let us understand each command with some example. Approach 1: Using “mv” command ...

Read More

How to generate random character strings in a range in Excel?

Namita Aggarwal
Namita Aggarwal
Updated on 08-May-2023 4K+ Views

Random data can be identified as random values, used to obtain some results. It can be used to perform simulations, to understand the pattern of different system components. It is useful when a user requires a large data set to evaluate some common feature. This article allows the user to generate a random string with three possible methods. The first method is based on the user-defined formula, the second method is based on the use of VBA code, and the final third method is based on the use of kutool. Example 1: To generate random character string in a range ...

Read More

How to generate all combinations of 3 or multiple columns in Excel?

Namita Aggarwal
Namita Aggarwal
Updated on 08-May-2023 13K+ Views

This article describes the user with 3 possible ways to generate the possible combination of 3 or more available columns in Excel. The first example is based on using the user-defined formula, to generate the possible combination. The second example is based on the method to use the VBA code, to generate the required combination. While the last example is based on using the Kutool to generate the same data. All three methods are completely accurate and can generate valid and unique results. Example 1: To generate the combination of 3 or multiple columns in Excel by using the formula ...

Read More

How to pass a Slice to Function in Golang?

Siva Sai
Siva Sai
Updated on 08-May-2023 2K+ Views

Golang, also known as Go, is a popular programming language that is known for its simplicity, efficiency, and performance. Slices are an important data structure in Golang that allows us to work with a sequence of elements of the same type. In this article, we'll discuss how to pass a slice to a function in Golang, and provide a step-by-step guide on how to achieve this task. What is a Slice in Golang? A slice in Golang is a dynamic array, which means it can grow or shrink as needed. It's a powerful data structure that allows us to work ...

Read More

How to Map a Rune to Uppercase in Golang?

Siva Sai
Siva Sai
Updated on 08-May-2023 754 Views

Golang, also known as Go, is a powerful programming language that offers efficient and scalable solutions for building modern software. One of the essential features of Golang is the ability to handle Unicode characters, which makes it possible to work with various languages and scripts. In this article, we'll discuss how to map a rune to uppercase in Golang, and provide a step-by-step guide on how to achieve this task. What is a Rune in Golang? A rune in Golang is a Unicode code point, which represents a single character. In Golang, the type for a rune is rune, and ...

Read More

How to Map a Rune to Title Case in Golang?

Siva Sai
Siva Sai
Updated on 08-May-2023 376 Views

If you're working with runes in Golang and need to convert them to title case, it can be a bit tricky. However, with the right tools and techniques, it's certainly achievable. In this article, we'll explore how to map a rune to title case in Golang, providing you with a step-by-step guide to help you achieve your goals. Understanding Runes in Golang Before we dive into how to map a rune to title case in Golang, let's take a moment to understand what runes are in this programming language. In Golang, a rune is a Unicode code point, which can ...

Read More

How to Map a Rune to the Specified Case in Golang?

Siva Sai
Siva Sai
Updated on 08-May-2023 349 Views

If you're working with runes in Golang, you may need to map them to a specified case. This can be useful when dealing with text that contains both uppercase and lowercase characters, or when you need to convert text to a specific case for formatting purposes. In this article, we'll go over how to map a rune to a specified case in Golang, and provide some helpful tips for optimizing your code. What is a Rune in Golang? Before we get into mapping runes to a specific case, it's important to understand what a rune is in Golang. In Golang, ...

Read More

How to Map a Rune to Lowercase in Golang?

Siva Sai
Siva Sai
Updated on 08-May-2023 1K+ Views

In Go, runes are used to represent Unicode code points, and they are often used in text processing applications. In some cases, you may need to convert a rune to its lowercase representation. In this article, we will discuss how to map a rune to lowercase in Go. Mapping a Rune to Lowercase in Go In Go, you can use the unicode.ToLower() function to convert a rune to its lowercase representation. The ToLower() function takes a single parameter, which is the rune that you want to convert to lowercase, and returns the lowercase version of the rune. Example Here is ...

Read More

How to join the elements of the byte slice in Golang?

Siva Sai
Siva Sai
Updated on 08-May-2023 1K+ Views

Byte slices are an important data type in Go that allow you to work with binary data. In many cases, you will need to join the elements of a byte slice to create a single string. In this article, we will discuss how to join the elements of a byte slice in Go. Joining the Elements of a Byte Slice in Go In Go, you can join the elements of a byte slice using the bytes.Join() function. Here is the syntax for using bytes.Join() − func Join(s [][]byte, sep []byte) []byte where s is a slice of byte slices, ...

Read More

How to iterate over an Array using for loop in Golang?

Siva Sai
Siva Sai
Updated on 08-May-2023 564 Views

Arrays are a fundamental data structure in Go that allow you to store a fixed-size sequence of elements of the same type. One of the most common operations you will perform on an array is to iterate over its elements to process them in some way. In this article, we will discuss how to iterate over an array using a for loop in Go. Iterating Over an Array Using a for loop in Go In Go, you can iterate over the elements of an array using a for loop. Here is the syntax for iterating over an array using a ...

Read More
Showing 37141–37150 of 61,297 articles
Advertisements