doTrimSentPushResults static method

String doTrimSentPushResults(
  1. String curSentence,
  2. List<String> results
)

Implementation

static String doTrimSentPushResults(String curSentence, List<String> results) {
  results.add(curSentence.trim());
  curSentence = "";
  return curSentence;
}