Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for capitalise (0.05 sec)

  1. src/main/java/org/codelibs/core/lang/StringUtil.java

            return new String(chars);
        }
    
        /**
         * Capitalizes a string according to JavaBeans conventions.
         * Note: If the first two characters are uppercase, the string will not be capitalized.
         * <p>
         * Usage example:
         * </p>
         *
         * <pre>
         * StringUtil.capitalize("userId")  = "UserId"
         * StringUtil.capitalize("ABC")     = "ABC"
         * </pre>
         *
         * @param name
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat Nov 22 11:21:59 UTC 2025
    - 21.5K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/core/lang/StringUtilTest.java

         */
        @Test
        public void testCapitalize() throws Exception {
            assertEquals("Abc", StringUtil.capitalize("abc"));
            assertEquals("Abc", StringUtil.capitalize("Abc"));
            assertEquals("ABC", StringUtil.capitalize("ABC"));
            assertEquals("UserId", StringUtil.capitalize("userId"));
        }
    
        /**
         * @throws Exception
         */
        @Test
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat Nov 22 11:21:59 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  3. docs/en/docs/tutorial/header-params.md

    Also, HTTP headers are case-insensitive, so, you can declare them with standard Python style (also known as "snake_case").
    
    So, you can use `user_agent` as you normally would in Python code, instead of needing to capitalize the first letters as `User_Agent` or something similar.
    
    If for some reason you need to disable automatic conversion of underscores to hyphens, set the parameter `convert_underscores` of `Header` to `False`:
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 3K bytes
    - Viewed (0)
  4. docs/ru/docs/python-types.md

    В какой-то момент вы бы начали определение функции, у вас были бы готовы параметры...
    
    Но затем нужно вызвать «тот метод, который делает первую букву заглавной».
    
    Это был `upper`? Или `uppercase`? `first_uppercase`? `capitalize`?
    
    Тогда вы пробуете старого друга программиста — автозавершение редактора кода.
    
    Вы вводите первый параметр функции, `first_name`, затем точку (`.`) и нажимаете `Ctrl+Space`, чтобы вызвать автозавершение.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 24.4K bytes
    - Viewed (0)
  5. docs/de/docs/python-types.md

    Aber dann müssen Sie „diese Methode aufrufen, die den ersten Buchstaben in Großbuchstaben umwandelt“.
    
    War es `upper`? War es `uppercase`? `first_uppercase`? `capitalize`?
    
    Dann versuchen Sie es mit dem langjährigen Freund des Programmierers, der Editor-Autovervollständigung.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 17.9K bytes
    - Viewed (1)
  6. docs/en/docs/python-types.md

    But then you have to call "that method that converts the first letter to upper case".
    
    Was it `upper`? Was it `uppercase`? `first_uppercase`? `capitalize`?
    
    Then, you try with the old programmer's friend, editor autocompletion.
    
    You type the first parameter of the function, `first_name`, then a dot (`.`) and then hit `Ctrl+Space` to trigger the completion.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 15.6K bytes
    - Viewed (0)
  7. docs/zh/docs/python-types.md

    
    ### 修改示例
    
    这是一个非常简单的程序。
    
    现在假设你将从头开始编写这段程序。
    
    在某一时刻,你开始定义函数,并且准备好了参数...。
    
    现在你需要调用一个"将第一个字母转换为大写形式的方法"。
    
    等等,那个方法是什么来着?`upper`?还是 `uppercase`?`first_uppercase`?`capitalize`?
    
    然后你尝试向程序员老手的朋友——编辑器自动补全寻求帮助。
    
    输入函数的第一个参数 `first_name`,输入点号(`.`)然后敲下 `Ctrl+Space` 来触发代码补全。
    
    但遗憾的是并没有起什么作用:
    
    <img src="https://fastapi.tiangolo.com/img/python-types/image01.png">
    
    ### 添加类型
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Aug 18 06:34:40 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  8. docs/pt/docs/python-types.md

    Em algum momento você teria iniciado a definição da função, já tinha os parâmetros prontos...
    
    Mas então você deve chamar "esse método que converte a primeira letra em maiúscula".
    
    Era `upper`? Era `uppercase`? `first_uppercase`? `capitalize`?
    
    Em seguida, tente com o velho amigo do programador, o preenchimento automático do editor.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 16.7K bytes
    - Viewed (0)
  9. docs/es/docs/python-types.md

    Pero luego tienes que llamar "ese método que convierte la primera letra a mayúscula".
    
    ¿Era `upper`? ¿Era `uppercase`? `first_uppercase`? `capitalize`?
    
    Entonces, pruebas con el amigo del viejo programador, el autocompletado del editor.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 16.4K bytes
    - Viewed (1)
Back to top