Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /** If str is found in myLine the first occurrence of str has been
- * removed frm myLine; otherwise myLine is left unchanged.
- * @param str the strng to be removed
- */
- public void delete(final String str) {
- myLine.replace(str, null);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement