{"id":13424,"date":"2020-03-17T15:17:07","date_gmt":"2020-03-17T22:17:07","guid":{"rendered":"https:\/\/careerkarma.com\/blog\/?p=13424"},"modified":"2023-12-01T02:32:41","modified_gmt":"2023-12-01T10:32:41","slug":"java-touppercase-tolowercase","status":"publish","type":"post","link":"https:\/\/careerkarma.com\/blog\/java-touppercase-tolowercase\/","title":{"rendered":"Java toUpperCase and toLowerCase"},"content":{"rendered":"\n<p>Strings are a built-in data type in Java used to store text. When you\u2019re working with a string, you may want to convert the case of the string to all-uppercase or to all-lowercase. For instance, if you\u2019re building an app that compares two names, you would want to convert the case of the names because comparisons are case-sensitive.<br><\/p>\n\n\n\n<p>That\u2019s where the Java toUpperCase() and toLowerCase() methods can be useful. These string methods are used to convert a string to all-uppercase and all-lowercase, respectively. This tutorial will discuss how to use these methods, with reference to examples, and explain where you may want to use toUpperCase() and toLowerCase() in your code.<br><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Java Strings<\/h2>\n\n\n\n<p>Strings are sequences of one or more characters and can include letters, numbers, whitespaces, and symbols. In Java, strings are declared by surrounding a sequence of characters by double quotes. Here\u2019s an example of a string in Java:<br><\/p>\n\n\n\n<p><code>String fruit = \u201cStrawberry\u201d;<br><\/code><\/p>\n\n\n\n<p>In Java, strings are stored as objects, which means they offer a number of methods that can be used to manipulate their contents. toUpperCase() and toLowerCase() are two examples of the many string methods available in Java.<br><\/p>\n\n\n\n<p>Strings in Java are case sensitive, and so if you compare two strings, a true value will only be returned if the strings are identical and use the same cases.<br><\/p>\n\n\n\n<p>This is important to note in cases where you are comparing two strings that may have different cases. For instance, if you store a user\u2019s email address in all-lowercase (a common practice for security reasons), then you\u2019ll want to convert their email address to lowercase when they try to sign in. That way, you can perform an equal comparison between the two values.<br><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Java toUpperCase<\/h2>\n\n\n\n<p>The toUpperCase() method is used to convert a string to all-uppercase. toUpperCase() iterates through every character in a string and changes it to an uppercase character.<br><\/p>\n\n\n\n<p>Here\u2019s the syntax for the toUpperCase() method:<br><\/p>\n\n\n\n<p><code>string_name.toUpperCase();<br><\/code><\/p>\n\n\n\n<p>toUpperCase() is appended at the end of the string value that you want to convert to uppercase. This is because toUpperCase() is a string method, which is appended at the end of string values in Java.&nbsp;<br><\/p>\n\n\n\n<p>toUpperCase() does not modify our original string. Instead, it creates a new copy of the original string but in all-uppercase.<br><\/p>\n\n\n\n<p>So, suppose we wanted to convert the string <code>Java is great<\/code> to all-uppercase. We could do so using this code:<br><\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>String java_is_great = \"Java is great\";\nSystem.out.println(java_is_great.toUpperCase();\n<\/pre><\/div>\n\n\n\n<p>Our code returns: <code>JAVA IS GREAT<\/code>.<br><\/p>\n\n\n\n<p>Let\u2019s walk through an example of the Java toUpperCase() method.<br><\/p>\n\n\n\n<p>Suppose we are creating an application that prints out a list of expected attendees at an exclusive local club. This list will be given to the door attendants who will check the name customers give against the list to see if the customer is allowed to enter the club. We want every name on our list to be written in uppercase so that it is easy for our door attendants to read each name.<br><\/p>\n\n\n\n<p>We could use the toUpperCase() method to convert each name on our list of attendees to uppercase. Here\u2019s an example program that accomplishes this task:<br><\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>public class PrintAttendees {\n\tpublic static void main(String[] args) {\nString[] attendees = {\"Liam Miller\", \"Michael Curtis\", \"Andrew Tamera\", \"Joan Beverly\", \"Sarah Klein\", \"Mary Blackwood\"};\nfor (String i : attendees) {\n\tSystem.out.println(i.toUpperCase());\n}\n\t}\n}\n<\/pre><\/div>\n\n\n\n<p>Our code outputs the following:<br><\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>LIAM MILLER\nMICHAEL CURTIS\nANDREW TAMERA\nJOAN BEVERLY\nSARAH KLEIN\nMARY BLACKWOOD\n<\/pre><\/div>\n\n\n\n<p>As you can see, our code has converted each string to uppercase. Let\u2019s break down our code step-by-step and discuss how it works. First, we declare a class called PrintAttendees, which stores our code for this example.<br><\/p>\n\n\n\n<p>Then, we initialize an array of string values called <code>attendees<\/code>, which stores the names of people who are on the guestlist for the club. On the next line, we create a \u201cfor each\u201d loop that loops through each item in the <code>attendees<\/code> array.<br><\/p>\n\n\n\n<p>Finally, our code uses toUpperCase() to convert each individual name to uppercase, and prints out the uppercase value to the console.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Java toLowerCase<\/h2>\n\n\n\n<p>The string toLowerCase() method is the opposite of the toUpperCase() method. Instead of converting a string to all-uppercase, the toLowerCase() method converts a string to all-lowercase.<br><\/p>\n\n\n\n<p>Here\u2019s the syntax for the toLowerCase() method:<br><\/p>\n\n\n\n<p><code>string_name.toLowerCase();<br><\/code><\/p>\n\n\n\n<p>toLowerCase() is a string method, and so it is appended to the end of a string value.<br><\/p>\n\n\n\n<p>Suppose we are creating an \u201cupdate profile\u201d form, and before a user can update their email address, we first want to check if the new email a user has submitted is the same as their old one. If so, we want to ask the user to choose a new email.<br><\/p>\n\n\n\n<p>Because email addresses are case sensitive and we store all email addresses in lowercase, we want to convert the email the user has submitted to lowercase so that we can compare the two strings.<br><\/p>\n\n\n\n<p>We could use the following code to accomplish this task:<br><\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>public class CompareEmails {\n\tpublic static void main(String[] args) {\nString old_email = \"linda.craig@gmail.com\";\nString new_email = \"Linda.craiG@gmail.com\".toLowerCase();\nif (old_email.equals(new_email)) {\n\tSystem.out.println(\"Choose a new email address.\");\n} else {\n\tSystem.out.println(\"Your email address has been changed.\");\n}\n\t}\n}\n<\/pre><\/div>\n\n\n\n<p>Our code returns:<br><\/p>\n\n\n\n<p><code>Choose a new email address.<br><\/code><\/p>\n\n\n\n<p>Let\u2019s break down our code. First, we define a class called CompareEmails, in which we have written the code for our program. Then, we declare a variable called <code>old_email<\/code> which stores the user\u2019s old email address.<br><\/p>\n\n\n\n<p>On the next line, we declare a variable that contains the user\u2019s new email address. We use the toLowerCase() method to convert the value of the email address to lowercase so that our program can compare the two email addresses.<br><\/p>\n\n\n\n<p>Next, we declare an <code>if<\/code> statement that checks whether the user\u2019s new email is equal to their old one. If it is, the message <code>Choose a new email address.<\/code> is printed to the console; otherwise, <code>Your email address has been changed.<\/code> is printed to the console.<br><\/p>\n\n\n\n<p>In this case, while the email the user has submitted contains a capital <code>L<\/code>, there are no differences in the contents of the string after we convert it to all-lowercase. So, our program printed out <code>Choose a new email address.<\/code> to the console.<br><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Conclusion<\/h2>\n\n\n\n<p>The string <code>toUpperCase()<\/code> method is used in Java to convert a string to upper case, and the <code>toLowerCase()<\/code> method is used to convert the contents of a string to lower case.<br><\/p>\n\n\n\n<p>This tutorial discussed how to use these methods in Java programs, with reference to examples, and explored where they may be useful. Now you\u2019re ready to start converting string cases using <code>toUpperCase()<\/code> and <code>toLowerCase()<\/code> like a Java master!<\/p>\n","protected":false},"excerpt":{"rendered":"Strings are a built-in data type in Java used to store text. When you\u2019re working with a string, you may want to convert the case of the string to all-uppercase or to all-lowercase. For instance, if you\u2019re building an app that compares two names, you would want to convert the case of the names because&hellip;","protected":false},"author":240,"featured_media":13425,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[17289],"tags":[],"class_list":{"0":"post-13424","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","7":"category-java"},"acf":{"post_sub_title":"","sprint_id":"","query_class":"Java","school_sft":"","parent_sft":"","school_privacy_policy":"","has_review":"","is_sponser_post":"","is_guest_post":""},"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v27.4 (Yoast SEO v27.4) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>Java toUpperCase and toLowerCase | Career Karma<\/title>\n<meta name=\"description\" content=\"The Java toUpperCase and toLowerCase methods are used to convert strings to all-uppercase and all-lowercase. Learn more in this article.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/careerkarma.com\/blog\/java-touppercase-tolowercase\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Java toUpperCase and toLowerCase\" \/>\n<meta property=\"og:description\" content=\"The Java toUpperCase and toLowerCase methods are used to convert strings to all-uppercase and all-lowercase. Learn more in this article.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/careerkarma.com\/blog\/java-touppercase-tolowercase\/\" \/>\n<meta property=\"og:site_name\" content=\"Career Karma\" \/>\n<meta property=\"article:publisher\" content=\"http:\/\/facebook.com\/careerkarmaapp\" \/>\n<meta property=\"article:published_time\" content=\"2020-03-17T22:17:07+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-12-01T10:32:41+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/03\/people-using-laptops-3183136.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1000\" \/>\n\t<meta property=\"og:image:height\" content=\"667\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"James Gallagher\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@career_karma\" \/>\n<meta name=\"twitter:site\" content=\"@career_karma\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"James Gallagher\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"5 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/java-touppercase-tolowercase\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/java-touppercase-tolowercase\\\/\"},\"author\":{\"name\":\"James Gallagher\",\"@id\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/#\\\/schema\\\/person\\\/e79364792443fbff794a144c67ec8e94\"},\"headline\":\"Java toUpperCase and toLowerCase\",\"datePublished\":\"2020-03-17T22:17:07+00:00\",\"dateModified\":\"2023-12-01T10:32:41+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/java-touppercase-tolowercase\\\/\"},\"wordCount\":986,\"commentCount\":0,\"image\":{\"@id\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/java-touppercase-tolowercase\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/wp-content\\\/uploads\\\/2020\\\/03\\\/people-using-laptops-3183136.jpg\",\"articleSection\":[\"Java\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/careerkarma.com\\\/blog\\\/java-touppercase-tolowercase\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/java-touppercase-tolowercase\\\/\",\"url\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/java-touppercase-tolowercase\\\/\",\"name\":\"Java toUpperCase and toLowerCase | Career Karma\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/java-touppercase-tolowercase\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/java-touppercase-tolowercase\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/wp-content\\\/uploads\\\/2020\\\/03\\\/people-using-laptops-3183136.jpg\",\"datePublished\":\"2020-03-17T22:17:07+00:00\",\"dateModified\":\"2023-12-01T10:32:41+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/#\\\/schema\\\/person\\\/e79364792443fbff794a144c67ec8e94\"},\"description\":\"The Java toUpperCase and toLowerCase methods are used to convert strings to all-uppercase and all-lowercase. Learn more in this article.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/java-touppercase-tolowercase\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/careerkarma.com\\\/blog\\\/java-touppercase-tolowercase\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/java-touppercase-tolowercase\\\/#primaryimage\",\"url\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/wp-content\\\/uploads\\\/2020\\\/03\\\/people-using-laptops-3183136.jpg\",\"contentUrl\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/wp-content\\\/uploads\\\/2020\\\/03\\\/people-using-laptops-3183136.jpg\",\"width\":1000,\"height\":667},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/java-touppercase-tolowercase\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Blog\",\"item\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Java\",\"item\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/java\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Java toUpperCase and toLowerCase\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/\",\"name\":\"Career Karma\",\"description\":\"Latest Coding Bootcamp News &amp; Career Hacks from Industry Insiders\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/#\\\/schema\\\/person\\\/e79364792443fbff794a144c67ec8e94\",\"name\":\"James Gallagher\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/wp-content\\\/uploads\\\/2020\\\/01\\\/james-gallagher-150x150.jpg\",\"url\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/wp-content\\\/uploads\\\/2020\\\/01\\\/james-gallagher-150x150.jpg\",\"contentUrl\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/wp-content\\\/uploads\\\/2020\\\/01\\\/james-gallagher-150x150.jpg\",\"caption\":\"James Gallagher\"},\"description\":\"James Gallagher is a self-taught programmer and the technical content manager at Career Karma. He has experience in range of programming languages and extensive expertise in Python, HTML, CSS, and JavaScript. James has written hundreds of programming tutorials, and he frequently contributes to publications like Codecademy, Treehouse, Repl.it, Afrotech, and others.\",\"url\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/author\\\/jamesgallagher\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Java toUpperCase and toLowerCase | Career Karma","description":"The Java toUpperCase and toLowerCase methods are used to convert strings to all-uppercase and all-lowercase. Learn more in this article.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/careerkarma.com\/blog\/java-touppercase-tolowercase\/","og_locale":"en_US","og_type":"article","og_title":"Java toUpperCase and toLowerCase","og_description":"The Java toUpperCase and toLowerCase methods are used to convert strings to all-uppercase and all-lowercase. Learn more in this article.","og_url":"https:\/\/careerkarma.com\/blog\/java-touppercase-tolowercase\/","og_site_name":"Career Karma","article_publisher":"http:\/\/facebook.com\/careerkarmaapp","article_published_time":"2020-03-17T22:17:07+00:00","article_modified_time":"2023-12-01T10:32:41+00:00","og_image":[{"width":1000,"height":667,"url":"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/03\/people-using-laptops-3183136.jpg","type":"image\/jpeg"}],"author":"James Gallagher","twitter_card":"summary_large_image","twitter_creator":"@career_karma","twitter_site":"@career_karma","twitter_misc":{"Written by":"James Gallagher","Est. reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/careerkarma.com\/blog\/java-touppercase-tolowercase\/#article","isPartOf":{"@id":"https:\/\/careerkarma.com\/blog\/java-touppercase-tolowercase\/"},"author":{"name":"James Gallagher","@id":"https:\/\/careerkarma.com\/blog\/#\/schema\/person\/e79364792443fbff794a144c67ec8e94"},"headline":"Java toUpperCase and toLowerCase","datePublished":"2020-03-17T22:17:07+00:00","dateModified":"2023-12-01T10:32:41+00:00","mainEntityOfPage":{"@id":"https:\/\/careerkarma.com\/blog\/java-touppercase-tolowercase\/"},"wordCount":986,"commentCount":0,"image":{"@id":"https:\/\/careerkarma.com\/blog\/java-touppercase-tolowercase\/#primaryimage"},"thumbnailUrl":"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/03\/people-using-laptops-3183136.jpg","articleSection":["Java"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/careerkarma.com\/blog\/java-touppercase-tolowercase\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/careerkarma.com\/blog\/java-touppercase-tolowercase\/","url":"https:\/\/careerkarma.com\/blog\/java-touppercase-tolowercase\/","name":"Java toUpperCase and toLowerCase | Career Karma","isPartOf":{"@id":"https:\/\/careerkarma.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/careerkarma.com\/blog\/java-touppercase-tolowercase\/#primaryimage"},"image":{"@id":"https:\/\/careerkarma.com\/blog\/java-touppercase-tolowercase\/#primaryimage"},"thumbnailUrl":"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/03\/people-using-laptops-3183136.jpg","datePublished":"2020-03-17T22:17:07+00:00","dateModified":"2023-12-01T10:32:41+00:00","author":{"@id":"https:\/\/careerkarma.com\/blog\/#\/schema\/person\/e79364792443fbff794a144c67ec8e94"},"description":"The Java toUpperCase and toLowerCase methods are used to convert strings to all-uppercase and all-lowercase. Learn more in this article.","breadcrumb":{"@id":"https:\/\/careerkarma.com\/blog\/java-touppercase-tolowercase\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/careerkarma.com\/blog\/java-touppercase-tolowercase\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/careerkarma.com\/blog\/java-touppercase-tolowercase\/#primaryimage","url":"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/03\/people-using-laptops-3183136.jpg","contentUrl":"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/03\/people-using-laptops-3183136.jpg","width":1000,"height":667},{"@type":"BreadcrumbList","@id":"https:\/\/careerkarma.com\/blog\/java-touppercase-tolowercase\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Blog","item":"https:\/\/careerkarma.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Java","item":"https:\/\/careerkarma.com\/blog\/java\/"},{"@type":"ListItem","position":3,"name":"Java toUpperCase and toLowerCase"}]},{"@type":"WebSite","@id":"https:\/\/careerkarma.com\/blog\/#website","url":"https:\/\/careerkarma.com\/blog\/","name":"Career Karma","description":"Latest Coding Bootcamp News &amp; Career Hacks from Industry Insiders","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/careerkarma.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/careerkarma.com\/blog\/#\/schema\/person\/e79364792443fbff794a144c67ec8e94","name":"James Gallagher","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/01\/james-gallagher-150x150.jpg","url":"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/01\/james-gallagher-150x150.jpg","contentUrl":"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/01\/james-gallagher-150x150.jpg","caption":"James Gallagher"},"description":"James Gallagher is a self-taught programmer and the technical content manager at Career Karma. He has experience in range of programming languages and extensive expertise in Python, HTML, CSS, and JavaScript. James has written hundreds of programming tutorials, and he frequently contributes to publications like Codecademy, Treehouse, Repl.it, Afrotech, and others.","url":"https:\/\/careerkarma.com\/blog\/author\/jamesgallagher\/"}]}},"_links":{"self":[{"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/posts\/13424","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/users\/240"}],"replies":[{"embeddable":true,"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/comments?post=13424"}],"version-history":[{"count":0,"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/posts\/13424\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/media\/13425"}],"wp:attachment":[{"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/media?parent=13424"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/categories?post=13424"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/tags?post=13424"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}