toolbox
Class StringHelpers

java.lang.Object
  extended bytoolbox.StringHelpers

public class StringHelpers
extends java.lang.Object

Helper functions for strings.

Author:
dahlkamp, ottlik

Constructor Summary
StringHelpers()
           
 
Method Summary
static java.lang.String insertNumber(java.lang.String mask, int number)
           
static java.lang.String insertNumber(java.lang.String mask, int number, char maskCharacter)
           
static java.lang.String replaceOnce(java.lang.String origin, char source, java.lang.String dest)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StringHelpers

public StringHelpers()
Method Detail

insertNumber

public static java.lang.String insertNumber(java.lang.String mask,
                                            int number,
                                            char maskCharacter)

insertNumber

public static java.lang.String insertNumber(java.lang.String mask,
                                            int number)

replaceOnce

public static java.lang.String replaceOnce(java.lang.String origin,
                                           char source,
                                           java.lang.String dest)