How to get the span value

How can i get this number without brackets

  String txt = WebUI.getText(findTestObject(...))

  // As a number...
  int n = Eval.me("${txt}")
  println n

  // As a String
  String s = Eval.me("${txt}").toString()
  println s

image

Please show the complete error trace.

Please show your code.

Thanks.