Java String Camel Case To camelToSql(String name)

Here you can find the source of camelToSql(String name)

Description

camel To Sql

License

LGPL

Declaration

public static String camelToSql(String name) 

Method Source Code

//package com.java2s;
//License from project: LGPL 

public class Main {
    public static String camelToSql(String name) {
        return name.replaceAll("([A-Z])", "_$1").toLowerCase();
    }/*from  ww  w .j av  a2 s  .c  om*/
}

Related

  1. camelToFixedString(String str, String fixed)
  2. camelToLisp(final String pString)
  3. camelToLowerSnake(String camel)
  4. camelToPeriod(String value)
  5. camelToSplitName(String camelName, String split)
  6. camelToWords(String camel)
  7. camelToXmlCase(String s)
  8. camelUp(String name)