fi.paatti.research.utils
Class StringHelper
java.lang.Object
fi.paatti.research.utils.StringHelper
public class StringHelper
- extends Object
String modification tools
- Author:
- Lauri Satokangas, lauri.n.satokangas@student.jyu.fi
-
-

| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StringHelper
public StringHelper()
parseStringToInteger
public static Integer parseStringToInteger(String stringToBeParsed)
- Parses the given string to an integer. Parsing removes everything else
except the numbers from the string before attempting to convert it into
an integer.
- Parameters:
stringToBeParsed - The string containing the integer presentation.
- Returns:
- The parsed integer or null if the string did not contain numbers.
Copyright © 2012. All Rights Reserved.