Close Bracket

Close Bracket


  • Sometimes referred to as square brackets, a bracket is a punctuation mark found in pairs. There are two types of brackets: the open bracket ( ) and the closed bracket ( ). The open bracket has an open end towards the right, and the closed bracket has an open end towards the left. Brackets are the two keys found to the right of the P key on a US QWERTY keyboard.

    How to create an open and close square bracket

    [Creating the "" and "" symbols on a U.S. keyboard]

  • On English keyboards, the open bracket and close bracket are on the same key as the curly bracket keys close to the Enter key.

    Note

  • Pressing and holding the Shift key while pressing the square bracket key creates a curly bracket.

    [Creating the "" and "" symbol on a smartphone or tablet]

  • To create an open and close bracket on a smartphone or tablet, open the keyboard , go into the numbers (123), then (#+=) or symbols (sym), and tap the '' or '' symbol.

    How are brackets used?

  • Basic textual manner to add additional or missing details ("It was a honor to do it the presentation.")
    R
  • egular expressions, wildcards, SQL, Visual Basic, C#, and JavaScript programming languages to enclose characters for string validation, pattern matching, or build arrays.

  • Used in standard mathematical notation for intervals and floor functions, as well as in the Lie bracket and Iverson bracket.

    Regular expression bracket example
    $value = s/a-z/-/ig;

  • This example replaces any character 'a' through 'z' in the $value variable with a hyphen.

    JavaScript programming bracket example

    var myList = new Array();
    myList0 = "value1";
    myList1 = "value2";
    myList2 = "value3";

    SQL programming bracket example

    SELECT name
    FROM customers
    WHERE name LIKE 'M-Zinger'


    What is an
    Operating System?
    » Computer Shortcut Keys and their Functions » Keyboard Function Keys » Computer Basics - Hardware - Software - Parts

    Short Stories for Kids - Moral Stories – English Short Stories for Children - Moral Stories for Kids - Stories for Kids - Funny Story for Kids - Scary Stories for Kids - Really Funny Short Stories - Bedtime Stories
    Proverb Stories
    Powerful Motivational Quotes for Students » Success Quotes » English Short Stories for Kids

    Cabin Crew Jobs & Career Advice » Secretary Job Description » Receptionist Job Description » Top 100 Interview Questions and Answers » How to Prepare for an Interview » How to Write a CV » How to Choose a Career » Computer Shortcut Keys and their Functions

    Scholarships in Australia » Scholarships in Austria » Scholarships in Belgium » Scholarships in Canada » Scholarships in Germany » Scholarships in Ireland » Scholarships in Italy » Scholarships in Japan » Scholarships in Korea » Scholarships in Netherlands » Scholarships in Switzerland » Scholarships in UK » Scholarships in USA

    Scholarships for Study in Africa » Scholarships for African Students » Undergraduate Scholarships » African Women Scholarships & Grants Scholarships for Study in Africa » Scholarships for African Students » Undergraduate Scholarships » African Women Scholarships & Grants Scholarships for Study in Africa » Scholarships for African Students » Undergraduate Scholarships » African Women Scholarships & Grants Short Stories for Kids - Moral Stories – English Short Stories for Children - Moral Stories for Kids - Stories for Kids - Funny Story for Kids - Scary Stories for Kids - Really Funny Short Stories - Bedtime Stories
    Proverb Stories
    Powerful Motivational Quotes for Students » Success Quotes »Scholarships in UK » Scholarships in USA Scholarships in UK » Scholarships in USA Scholarships in UK »

  • Click here to post comments

    Join in and write your own page! It's easy to do. How? Simply click here to return to Computer Basics FAQ.