广告平台(媒体使用)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

преди 3 месеца
123456789
  1. param($inputString)
  2. $words = $inputString.Split('_')
  3. $outputString = ""
  4. foreach ($word in $words) {
  5. $outputString += $word.Substring(0,1).ToUpper() + $word.Substring(1).ToLower() + ""
  6. }
  7. $outputString = $outputString.TrimEnd()
  8. $outputString -replace ' ', '' # 如果想要没有空格的字符串,取消注释这行代码
  9. $outputString