Examples


  • Script 1: Convert a name into a class code (JAVA naming convention)转换类名

    .foreach_part(%Name%, "' _-'")
    %.FU:CurrentPart%
    .next

    The conversion script will output:

    Name = Employee shareholder => Code = EmployeeShareholder

  • Script 2: Convert a name into a class attribute code (JAVA naming convention)转换属性名

    .set_value(_First, true, new)
    .foreach_part(%Name%, "' _-'")
    .if (%_First%)
    %.L:CurrentPart%
    .set_value(_First, false, update)
    .else
    %.FU:CurrentPart%
    .endif
    .next

    The conversion script will output:

    Name = Employee shareholder => Code = employeeShareholder

相关文章:

  • 2021-07-21
  • 2021-06-03
  • 2021-05-12
  • 2021-11-17
  • 2022-12-23
  • 2022-12-23
  • 2021-11-27
  • 2022-12-23
猜你喜欢
  • 2021-12-14
  • 2021-12-14
  • 2021-12-09
  • 2022-12-23
  • 2021-11-13
相关资源
相似解决方案