Skip to content

Instantly share code, notes, and snippets.

View leonardreidy's full-sized avatar

Leonard M Reidy leonardreidy

View GitHub Profile
@leonardreidy
leonardreidy / StringUtilities.java
Last active October 8, 2016 20:31
Simple Java class containing methods for performing common actions on Strings.
public class StringUtilities
{
/**
* Check if input string is a vowel
* Author: http://stackoverflow.com/users/1357341/arshajii
**/
public static boolean isVowel(String inStr)
{
return "aeiou".indexOf(inStr.toLowerCase()) >= 0;