I fixed the error message by changing the substring to
userHashtag = userStatus.substring(0,hashtag +1); , but it wont display the text after the #
Type: Posts; User: mpagudelo
I fixed the error message by changing the substring to
userHashtag = userStatus.substring(0,hashtag +1); , but it wont display the text after the #
So for my homework I am supposed to create a program that allows a user to input a Twitter/Facebook status with a mention (@), a hashtag (#) and a URL link to some website. The program is supposed to...