检查字符串是否以指定前缀开头。返回 1 或 0。
startswith(string, prefix)
attr x = startswith(string, prefix)
@StartRule Lot --> primitiveCube(4, 4, 4) case startswith("hello.jpg", "he") : color(0.2, 0.8, 0.4) else : color(0.8, 0.2, 0.2)