Solved
Forum Discussion
baxatob
Community Hero
You can get a full string and then get a slice (first 4 characters) from it.
fullString = 'John, Doe' In JScript, JаvаScript: subString = fullString.slice(0,4)
In Python:
subString = fullString[0:4]
Output: subString == "John"
etc...
shankar_r
7 years agoCommunity Hero
In common, you can always aqString.SubString as this is TestComplete in-build function.
Related Content
Recent Discussions
- 2 days agovladd1