Online String Utilities
Beetechnical provides a set of tools for performing basic string operations such as calculating length, counting the number of characters on a string, converting string to uppercase, converting string to lowercase, and counting the number of words on a provided string.
Calculate String length
Using string utility tools, we can calculate the length of the string provided in the textbox. Just enter the string or paste the string into the textbox and click on the Count String Length button. Right above to the button,you will see the calculated length of the string.
- Limitations of this tool, currently it takes a maximum of 100000 characters including spaces and special characters.
Count the number of sentences in the string
This method will break down the entire string to the lines using full stop char(.) and measure the number of lines and display it at the bottom of the input textbox.
Convert string to lowercase
Provided string text value will be converted into the lower cases.
Convert string to uppercase
Provided string text value will be converted into the uppercase.
Tools for converting string to Base64 and Base64 to String
Base64 schemes represent binary data in an ASCII string format (English alphabet, common punctuation chars, control chars) by translating it into a base-64 representation. This basically means that all kinds of characters (ASCII, UTF8, UTF16…) with control characters can be mapped for example in the English alphabet a-z, A-Z, 0-9 and you would be able to read them all on screen, or even print them out.
Convert string to Base64
This tool can be used to convert plain text into base64 encoding. Past the text value in the textbox and click on the “Convert to Base64 button” below the input textbox.
Convert Base64 to String
This tool can be used to convert Base64 text into the plain string format. Past the text value in the textbox and click on “Convert From Base64” below the input textbox.
- If the Base64 given is not correct. An error message will be displayed in the textbox below.
Convert to StringBuilder
As a developer, I am aware that string concatenation is an inefficient method of adding a string. StringBuilder is a recommended method for adding multiple lines and storing them in variables. Simply enter the string lines in the text box and StringBuilder will be created for you, which can be used in both C# and Java.