acamso
Fellow UBotter-
Content Count
354 -
Joined
-
Last visited
-
Days Won
15
acamso last won the day on October 30 2017
acamso had the most liked content!
Community Reputation
55 ExcellentAbout acamso
-
Rank
Advanced Member
Contact Methods
-
Website URL
http://acamso.com
Profile Information
-
Gender
Not Telling
System Specs
-
OS
Windows 8
-
Total Memory
6Gb
-
Framework
v3.5 & v4.0
-
License
Developer Edition
Recent Profile Visitors
8105 profile views
-
-
Ubot Studio Tutorial: Remove Extra Spaces From Text (Function)
acamso replied to acamso's topic in Tutorials, Tips and Tricks
Yes this function is intended for a string without new lines. I'll make one with new lines included. -
comment("WITH WHITESPACE") alert($acamso capitalize first letter(" hellow", $true)) comment("WITHPOUT WHITESPACE") alert($acamso capitalize first letter(" hellow", $false)) divider define $acamso capitalize first letter(#text, #whitespace) { if($comparison(#whitespace,"=",$true)) { then { return("{$change text casing($find regular expression(#text,"^(\\s+|)\\w"),"Upper Case")}{$replace regular expression(#text,"^(\\s+|)\\w",$nothing)}") } else { return("{$change text casing($find regular expression($replace regular expression(#text,