Forum Discussion
pramoddn
7 years agoOccasional Contributor
if i understood correctly, then the question is on Type Casting, if so, get the text first SWTObject(StyledText), via getText() or object.ContetnText
stringContent = object.contentText()
intContent = parseint(stringContent) //in Java script, if VB Script use cint(stringContent)
intContent will contain the integer.
If the requirement is to fetch partial text like "content_001" then we have to make use of substring and then type casting.