← Calsoft questions
CodingFairly Easy

Replace characters in string based on another string

Filed under Calsoft

The question

Given two strings S1 and S2, replace all characters in S1 with '+' if they are not present in string S2.

No write-up yet. Related questions below have one.

Related Calsoft questions

Collected from public candidate posts and coding forums. Updated Nov 2026.