脚本中,怎么将01显示为0001

脚本中,如何将01显示为0001
脚本中,如何将01显示为0001

------解决方案--------------------
string str = "01 ";
Response.Write(str.PadLeft(4, '0 '));