unmark

..  unmark(s)

Remove a mark from stream ``s``.
Returns ``true`` if the stream was marked, ``false`` otherwise.

See also :func:`mark`, :func:`reset`, :func:`ismarked`

Examples

In the Julia programming language, the function unmark(s)

Remove a mark from stream s. Returns true if the stream was marked, false otherwise.

See also mark, reset, ismarked.

julia> s = "Hello World!";
julia> mark(s);
julia> ismarked(s)
true
julia> unmark(s)
true
julia> ismarked(s)
false

This example demonstrates how to mark a stream s, check if it is marked using ismarked, and then remove the mark using unmark.

See Also

deserialize, eachline, eof, fd, flush, IOBuffer, ismarked, isopen, isreadonly, mark, nb_available, open, pipeline, position, read, read!, readavailable, readbytes, readbytes!, readline, redirect_stderr, redirect_stdin, reset, seek, seekend, seekstart, serialize, skip, skipchars, TextDisplay, unmark, write, writemime,

User Contributed Notes

Add a Note

The format of note supported is markdown, use triple backtick to start and end a code block.

*Required Field
Details

Checking you are not a robot: