Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

replacing string with dynamic avalues java

String a = "{YY}-{MM}-{SEQNO}";
a = a.replace("YY", "17").replace("MM", "06").replace("SEQNO", "0001");
System.out.println(a);
//Output:  {17}-{06}-{0001}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #replacing #string #dynamic #avalues #java
ADD COMMENT
Topic
Name
2+6 =