StackOverflow 文件 Elixir Language 教程 字串 獲取子字串 獲取子字串 Created: November-22, 2018 iex> my_string = "Lorem ipsum dolor sit amet, consectetur adipiscing elit." iex> String.slice my_string, 6..10 "ipsum" 拆分一個字串轉換為字串