samun
V2EX  ›  Java

如何实现 String.format 的逆过程

  •  
  •   samun · Dec 22, 2020 · 3118 views
    This topic created in 2151 days ago, the information mentioned may be changed or developed.
    如题 有个需求是要根据目标字符串和模板串取出相应变量的值
    2 replies  •  2020-12-22 18:28:21 +08:00
    Kasumi20
    Kasumi20
    Dec 22, 2020
    1
    正则表达式
    myCupOfTea
    myCupOfTea
    Dec 22, 2020
    2
    ..正则啊
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   1801 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 15:55 · PVG 23:55 · LAX 07:55 · JFK 10:55
    ♥ Do have faith in what you're doing.