Jump to content
YOUR-AD-HERE
HOSTING
TOOLS

Locked [Beginner-Friendly] [VB.NET] String Manipulation Snippets Vault [Part 1] [10 Operations]


Breaker

Recommended Posts

So, let's start with a short introduction to what a string is.

 

In programming, a string is defined as data type that can represent a text, which is consisted from a collection of characters that contains spaces and numerical values as well. Unlike the "Integer" declaration, which can only contain a single numerical value.

 

Here are different methods of declaring a string:

This is the hidden content, please

 

NOTES:

- The separator after #25 means I'm advancing into the details.

- Dear guests, benefit from the code. Don't ripoff.

 

1. Replace Function - creates changes in the contents of the string

This is the hidden content, please

 

2. Calculate String Length - calculates how many characters are in the string

This is the hidden content, please

 

3. Reverse String - creates a mirrored text

This is the hidden content, please

 

4. Construct a String - creates a string from a sequence of characters

This is the hidden content, please

 

5. ToUpper - converts all lowercase characters to uppercase characters

This is the hidden content, please

 

6. ToLower - converts all uppercase characters to lowercase characters

This is the hidden content, please

 

7. ToSentence - capitalizes first character and every first character after ".", "?", "!"

This is the hidden content, please

 

8. ToInverted - creates a mixture of uppercase and lowercase characters

This is the hidden content, please

 

9. Split Strings - creates a new line after each word

This is the hidden content, please

 

10. Join Strings - joins splitted strings and creates a sentence

This is the hidden content, please

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.