How To Find the Total Number of Similar Words in Given Scraped Text ? Thanks
Is it static or dynamic word ?
If it is static then try below one.
Assign that scraped text to one string variable and say ‘scrapedText’.
Int wordCount = scrapedText.Split("requiredWord"c).count
Thanks @lakshman, I got the following error :
hope this expression would help you
int_count = Split(stringinput,“yourkeyword”).Count
kindly let know for any queries or clarification
Still need to convert the whole expression to integer :
if you are using this in a IF condition then it should be with some conditional operators
int_count = Split(stringinput,“yourkeyword”).Count < 0
int_count = Split(stringinput,“yourkeyword”).Count > 0
some thing like that
I understand, by adding the operator it will recognize it as integer automatically, right?
if the condition is added it will taken as boolean
but the expression involved in it, compared between is a integer,
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.