How do I replace the nth occurrence of a special character, say, a pipe delimiter with another in Scala?

前端 未结 0 340
刺人心
刺人心 2021-01-31 12:51

I\'m new to Spark using Scala and I need to replace every nth occurrence of the delimiter with the newline character.

So far, I have been successful at entering a new lin

相关标签:
回答
  • 消灭零回复
提交回复
热议问题