How To Change Register Values

Table of contents:

How To Change Register Values
How To Change Register Values

Video: How To Change Register Values

Video: How To Change Register Values
Video: How to Change Configuration Register Value on CISCO Router 2024, May
Anonim

When creating text documents, they are almost always typed in letters of two sizes - uppercase and lowercase. In a computer, this division corresponds to switching the case - it can be upper or lower. Unlike paper documents, the register in electronic texts can be changed after they have been created.

How to change register values
How to change register values

Instructions

Step 1

To change the case of characters on the computer keyboard, use a service key labeled CapsLock. This is the third button from the bottom in the leftmost row of keys - press it before entering text and the case will change. If at the same time the indicator with the same designation (CapsLock) lights up, then you switched the keyboard to the upper case, and if it goes out - to the lower one.

Step 2

Already typed in any editor, the text can also be translated into a different case. For example, in a word processor Microsoft Office Word 2007 or 2010 to do this, start by highlighting the fragment that you want to transform. Then open the “Case” drop-down list in the menu - this is the icon with the uppercase and lowercase letters “Aa” in the “Font” group of commands on the “Home” tab. From the five options listed in the list, select the desired case change method. In addition to the command to replace it with the opposite one - "Change case" - you can capitalize the first letters of each word, convert all characters to upper or lower case, format the text in accordance with the rules for formatting sentences (the first letter is uppercase, the rest - lowercase).

Step 3

You can change the case of text in an HTML document using the style description language - CSS, for this, the text-transform property is intended in it. To convert all letters to uppercase, set this property to uppercase, to lowercase, use lowercase, and capitalize to capitalize each word. For example, a div block containing text that you want to uppercase must begin with a tag with a style attribute like this:

Step 4

Many programming languages also have built-in functions for changing the case of text. For example, in PHP, use the strtoupper function to convert characters to uppercase, strtolower to lowercase, ucwords for capitalization, and capitalize only the first letter of a text fragment, and capitalize the rest using ucfirst.

Recommended: