StringToolbox
Keywords: com.sharkysoft.string.StringToolbox class

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| sharkysoft.com
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.sharkysoft.string
Class StringToolbox

    java.lang.Object
      com.sharkysoft.string.StringToolbox

public final class StringToolbox
extends java.lang.Object

Miscellaneous string functions.

Details: `StringToolbox` is a miscellaneous collection of functions for manipulating strings.

Author:
  Sharky

Method Summary
`static java.lang.String` | `repeat(char icChar, int inCount)` Creates string by repeating character.

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Method Detail

### repeat

    public static java.lang.String repeat(char icChar,
                                          int inCount)

  Creates string by repeating character.

  Details: `repeat` creates a new string by repeating a character. For example, the call

  > `repeat('#', 3)`

  produces the string "`###`". A zero-length string is returned if the repeat count is less than 1.

  Parameters:
    `icChar` - the character to repeat
    `inCount` - the repeat count
  Returns:
    the new string containing repeated characters

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| sharkysoft.com
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 1997-2004 Sharkysoft (sharkysoft.com). All rights reserved.