![]() |
2010-02-08
, 10:16
|
Posts: 287 |
Thanked: 165 times |
Joined on Oct 2009
@ The Netherlands
|
#12
|
![]() |
2010-02-08
, 16:46
|
|
Posts: 11,700 |
Thanked: 10,045 times |
Joined on Jun 2006
@ North Texas, USA
|
#13
|
![]() |
2010-03-14
, 01:20
|
|
Posts: 11,700 |
Thanked: 10,045 times |
Joined on Jun 2006
@ North Texas, USA
|
#14
|
![]() |
2010-03-14
, 17:18
|
|
Posts: 11,700 |
Thanked: 10,045 times |
Joined on Jun 2006
@ North Texas, USA
|
#15
|
If Tweet_TextBox.Text.Length > 140 Then Do While tempTweet.Length >= 132 chunkCut = 132 While tempTweet.Substring(chunkCut, 1) <> " " 'test for punctuation too (?!,;) chunkCut = chunkCut - 1 End While tweetChunk(chunkCount) = tempTweet.Substring(0, chunkCut).Trim tempTweet = tempTweet.Remove(0, chunkCut) chunkCount = chunkCount + 1 Loop tweetChunk(chunkCount) = tempTweet.Trim For tweets = 0 To chunkCount tweetUpdate = (tweets + 1).ToString & "/" & (chunkCount + 1).ToString & " " & tweetChunk(tweets) If tweets < chunkCount Then tweetUpdate = tweetUpdate & " +" tw.Update(tweetUpdate) Next Else tw.Update(Tweet_TextBox.Text) End If Tweet_TextBox.Clear()
Hi! I'm Kathy and I'm a Maemo Greeter! Welcome.
Useful links for newcomers: New members say hello , New users start here, Community subforum, Beginners' wiki page, Maemo5 101, Frequently Asked Questions (FAQ)
Did you know Meego.com has forums too?