How to split a string into words. Ex: “stringintowords” -> “String Into Words”?

前端 未结 13 1204
粉色の甜心
粉色の甜心 2020-11-29 20:18

What is the right way to split a string into words ? (string doesn\'t contain any spaces or punctuation marks)

For example: \"stringintowords\" -> \"String Into Word

13条回答
  •  渐次进展
    2020-11-29 20:23

    The only way that you could split that string into words is to use a dictionary. Although this would probably be quite resource intensive.

提交回复
热议问题