private static String removeFromString(String old, String frag)
{
int i = old.indexOf(frag);
while (i> -1) {
String rest = old.substring(i + frag.length());
System.out.println("rest = " + rest);
old = old.substring(0, i);
System.out.println("rest = " + old);
old = old + rest;
System.out.println("rest = " + old);
i = old.indexOf(frag);
System.out.println("i = "+ i);
}
return old;
}
Here the index of first occurrence is obtained outside the “while loop” and if this loop runs until index value is >-1. It extracts the rest of the characters other than “frag” from the index and all the characters for which the given set of characters are removed.
Explanation:
This means that it requires a disconnecting means for each motor, and it must be located in sight from the motor location and the driven machinery location.
Multiply the FLC of the largest motor by 125%.
Add up the FLCs of the other motors.
Multiply the continuous non-motor loads by 125%.
Add up all of the above to the total of the non-continuous loads.
Explanation:
All five things i can come up with her
1. Doors (we either open or close them)
2. Tap (we either open or close the valve)
3. Electric stove/cooker
4. The lid of containers
5. Shoes/ foot wears(we put them ON or OFF)
Without system software, system can not run on the other hand without application software, system always runs