如何編寫一個接受數字並返回在每個奇數之前和之后放置單個連字符的字符串的方法? [英]How to write a method that takes in a number and returns a string placing a single hyphen before and after each odd number?
如何獲取以連字符開頭的匹配字符串和使用正則表達式的字符 [英]how to get match string that start with hyphen and character with regex