Jump to content
UBot Underground

acamso

Fellow UBotter
  • Content Count

    354
  • Joined

  • Last visited

  • Days Won

    15

Everything posted by acamso

  1. Yes this function is intended for a string without new lines. I'll make one with new lines included.
  2. 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,
×
×
  • Create New...