<td colspan="6" style="background-color: #fff;text-align: center;font-weight:bold;">Draw Date: 2019-01-15</td>
How do I print only the 2019-01-15
part? This value is stored in the date
variable.
date.string.split()[-1]
#'2019-01-15'
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.