Shoutbox
latest posts
member list
search
rules
contact
login
|
register
|
shoutbox
What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox
»
MsgHelp Archive
»
Messenger Plus! for Live Messenger
»
Scripting
» function to cut text if length > 14
function to cut text if length > 14
Author:
Message:
LifelesS
Full Member
Posts: 115
Reputation:
4
32 /
/
Joined: Dec 2006
O.P.
function to cut text if length > 14
Does anyone knows a function to cut a text length if it's "> than something"?
I only got the If part... don't know how to "say" to cut it...
TIA
Best Regards,
Joćo Godinho
01-29-2007 07:21 PM
foaly
Senior Member
Posts: 718
Reputation:
20
38 /
/
Joined: Jul 2006
RE: function to cut text if length > 14
code:
string.substring(0,14);
01-29-2007 07:25 PM
Stigmata
Veteran Member
Posts: 3520
Reputation:
45
21 /
/
Joined: Jul 2003
RE: function to cut text if length > 14
create a substring out of it.
code:
text.substring(0,14);
0 = Starting position
14 = end position.
It just shows you whats in between
Hope this was some help
Myspace Manager Script
-
Cup Holder Script
-
ePenis Uptime Script
-
Random Fact Generator Script
-
HTML Text Parser Script
01-29-2007 07:28 PM
LifelesS
Full Member
Posts: 115
Reputation:
4
32 /
/
Joined: Dec 2006
O.P.
RE: function to cut text if length > 14
Thanks to both of you, I went to check it out on the online documentation of microsoft.
Thanks
This post was edited on 01-29-2007 at 07:34 PM by
LifelesS
.
Best Regards,
Joćo Godinho
01-29-2007 07:32 PM
«
Next Oldest
Return to Top
Next Newest
»
Threaded Mode
|
Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe
|
Add to Favorites
Rate This Thread:
Select Rating...
5 ... Best
4
3 ... Average
2
1 ... Worst
Forum Jump:
Please select one:
--------------------
Latest Posts
Private Messages
User Control Panel
Who's Online
Search
Forum Home
Open Forum
Forum Rules:
You
cannot
post new threads
You
cannot
post replies
You
cannot
post attachments
You
can
edit your posts
HTML is
Off
myCode is
On
Smilies are
On
[img] Code is
On