Introduction
Here is the source code for Main.java
Source
//package com.java2s;
public class Main {
private static int getStartIndex(String term) {
int length = term.length();
int index = 0;
while (term.charAt(index) == '*') {
++index;
if (index >= length) {
break;
}
}
return index;
}
}