|
-
Jun 1st, 2004, 03:58 AM
#1
Thread Starter
Hyperactive Member
Safe String Code
Hey,
How to make function which removes all unsafe charters, removes spaces, converts international letter to latin etc, and retuns only latin letters and numbers (alphasimbols)?
Also this function should reduce lenght of the string to n simbols.
ETC.:
dim str as string = "<*> Hello 10 people, how are you!? <*>"
str = myfunction(str, 8)
And then Str value is equl to = "he10phay"
If lengt of string is more then 8 after removing unsafe charters, it cuts some characters of every world until it's lengt is 8.
Any suggestions?
Maybe .NET has function which convers string to alpha string?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|