Check If String Starts with Tab
How Do I Check If a String Starts with a Tab in Groovy? 1 1 Answer This Are Some Ways to Do It. .. .There Are More Like Regex Def S = "\T" Assert S[0] ==...
How do I check if a string starts with a tab in Groovy?
1 Answer
This are some ways to do it....there are more like regex
def s = "\t"
assert s[0] == "\t"
assert s.startsWith("\t")