This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<title>nmyname</title> | |
</head> | |
<body bgcolor="green"> | |
<h1 align="center">春晓</h1> | |
<p><hr/> | |
<!--qusiba--> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
</head> | |
<body> | |
body必须在这个位置,在两个html之间 ,在head下面。其他的要呈现的内容,必须在body之间。 | |
</body> | |
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package co.dogduck.java.utils.string; | |
public class MyStrPad { | |
public enum PAD{LEFT, RIGHT, BOTH} | |
public static String myStrPad(String input,int padLength){ | |
return myStrPad(input,padLength," ",PAD.RIGHT); | |
} | |
public static String myStrPad(String input,int padLength,String padString){ | |
return myStrPad(input,padLength,padString,PAD.RIGHT); | |
} | |
public static String myStrPad(String input,int padLength,String padString,PAD pad){ |