How many backslashes will appear in the output text?

Week of October 12, 2026 140 responses
s = regexprep('\\\','\\\','\\\\\')
numBackslashes = sum(s == '\')

This quiz has ended. You can still submit an answer to see results.

Note: Answering past quizzes does not count toward your streak.

Sign in to participate
Comments may contain spoilers and are hidden until you participate.
Show comments

Tags

No tags entered yet.