code: def format_camel_case(text):
      
      text = text.strip()
      if len(text) == 0:  # if empty string, return it
          raise ValueError("can not be empty string!")
      else:
          text = text.lower()  # lower all char
          # delete redundant empty space
          words = list()
          word = list()
          for char in text:
              if char in ALPHA_DIGITS:
                  word.append(char)
              else:
                  if len(word):
                      words.append("".join(word))
                      word = list()
          if len(word):
              words.append("".join(word))
  
          words = [word[0].upper() + word[1:] for word in words]
          return "".join(words)
docs: Example::
  
          ThisIsVeryGood
  
      **中文文档**
  
      将文本格式化为各单词首字母大写, 拼接而成的长变量名。