Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想将 ’ 转换为 Java 中的撇号(')。
输入: String s = "master’s degree"
它应该是:
硕士
s = s.replace("’","'");