没有太多运气“谷歌搜索”这个因为他们认为我想在网上做。
VB.net中的任何内置函数是否采用字符串
Private Function PrettyPrintHTML(byval str as string) as string
'Do Pretty Things Here
Return PrettyThing
End Function
EG
<html><head><title>Value</title></head><body><div><label>Username:<input id="Username"/></label></div></body></html>
并且会在正确的位置输出缩进,即
<html>
<head>
<title>Value</title>
</head>
<body>
<div>
<label> Username:
<input id="username"/>
</label>
</div>
</body>
</html>
我正在尝试将格式正确的字符串输出到屏幕。