Package jetbrains.buildServer.util
Class StringUtils
- java.lang.Object
-
- jetbrains.buildServer.util.StringUtils
-
public class StringUtils extends Object
- Since:
- 8.0
- Author:
- kir
-
-
Constructor Summary
Constructors Constructor Description StringUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static String
replaceNonAlphaNumericChars(String originalStr, char toReplace)
Replaces all characters except A-Za-z0-9_ to specified character.
-
-
-
Method Detail
-
replaceNonAlphaNumericChars
@NotNull public static String replaceNonAlphaNumericChars(@NotNull String originalStr, char toReplace)
Replaces all characters except A-Za-z0-9_ to specified character.- Parameters:
originalStr
- original stringtoReplace
- character to replace with- Returns:
- string with replaced characters
-
-