jhgbaouns (!empty($user->lang['WROTE'])) ? $user->lang['WROTE'] : ucwords(strtolower(str_replace('_', ' ', 'WROTE'))):
How do you use Left(str)?
How do you split a string with [ in it?
1) you don't use Left(str) with AC Tools. Instead you would use StrCopy.
Example
constants
Name=Cameron
Test=Nothing
end
StrCopy Test = $Name, 1, 3
say $Test
2) same way you'd split any other string. you mean how do you split based on the bracket?
Example string: "You have a bracket [timestamp]"
Constants
BracketString= "You have a bracket [timestamp]"
TimeStamp=Nothing
BracketPosition=0
End //constants
StrPos BracketPosition = [,$BracketString
StrCopy TimeStamp = $BracketString,$BracketPosition,1
Say $TimeStamp