Sun . Java . Code Library . l*

{ ... // string length method
int signalCount;
String atcg = "TTCACT";
{ ... if signal mutation ...
int signalCount = atcg.length(); // 6 because total characters of TTCACT
}
... }