Some Trials & a lot of Errors
I tried a bunch of framework and other language and I usually feel overwhelm when its time to do something real with what I've learned. So that why I created this site, to write my progress and help some noob like me that stumble into the sames problems.
Browse: Home / String

String

Why is String not sorting with the Local ?

By Chris on September 28, 2014

Comparing and sorting Strings might not work out like you expected specially when your dealing with a language other than English. Normally comparing strings in done with simple Unicode ordering. If you want to have localized ordering (the kind expected by an end user) you need to use a Collator. Commonly used String methods such […]

Posted in java, prog | Tagged collator, java, sorting, String | Leave a response

How can I pad a String in Java?

By Chris on September 16, 2013

I’ve stumbled upon that problem recently and couldn’t remember how to do it.  Has you except it’s trivial to do and like most of what can be done in programming there more than one way to do it.  1- Good old jdk String 🙂 Since Java 1.5 you have the new String format method do […]

Posted in java, tips | Tagged Apache, format, Guava, java, String, StringUtils | Leave a response

Tags

2018 2022 app apparment baby book books cleaner date daycare db fantasy draft fantasy sports food foods fridge games gifts grocery hibernate hockey hockey pools ideas inspiration java java.util.List learning List meal plan meal planner motivation mysql oracle productivity retail shopping reviews service social games sql String students The Practice to_date uber wedding

Recent Comments

  • kevin on Oracle have no Boolean, how to fix this

Calendar

February 2023
MonTueWedThuFriSatSun
 12345
6789101112
13141516171819
20212223242526
2728 
« Dec  

Archives

  • December 2022
  • November 2022
  • October 2022
  • September 2022
  • August 2022
  • July 2022
  • June 2022
  • May 2022
  • April 2022
  • March 2022
  • February 2022
  • January 2022
  • September 2021
  • August 2021
  • July 2021
  • June 2021
  • May 2021
  • March 2021
  • February 2021
  • May 2020
  • January 2019

Copyright © 2023 Some Trials & a lot of Errors.

Powered by WordPress and Hybrid.