Sunday, 26 February 2017

Prefix and Suffix





let line = "0001 Some test data here %%%%"
print(line.hasPrefix("0001"));    // true
print(line.hasSuffix("%%%%"));    // true

No comments:

Post a Comment