Imports System.Collections.Generic
Dim content as New Dictionary(Of String,List(Of String))
Dim temp as String = "zh-CN,de-DE"
Dim mList as List(Of String)
mList = (From s In temp.Split(",") Select s).ToList()
content.Add("1",(From s In temp.Split(",") Select s).ToList())
content.Add("2",(From s In temp.Split(",") Select s).ToList())
if content.ContainsKey("1") then
Console.WriteLine("Yes, it has one.")
Console.WriteLine(item.Key + " :: " + item.value(0))
Dim tmpStr as string = "<body data-lang=""" + String.Join(" ", mList.ToArray())+ """>"
Console.WriteLine("<body data-lang=""cd-FD zh-CN de-DE"">")
Console.WriteLine(tmpStr)