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 about app apparment arraylist baby blog book books condo date daycare db gifts hibernate ideas inspiration java java.util.List learning linux List mongodb MongoRepository MongoTemplate motivation mysql netstat oracle productivity real estate reviews school Seth Godin sql String struts students The 100 days project The Practice to_date wedding welcome windows

Recent Comments

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

Calendar

July 2022
MonTueWedThuFriSatSun
 123
45678910
11121314151617
18192021222324
25262728293031
« Jun  

Archives

  • 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
  • December 2018
  • July 2018
  • April 2018
  • January 2018
  • October 2014
  • September 2014

Copyright © 2022 Some Trials & a lot of Errors.

Powered by WordPress and Hybrid.