Grab first 50 characters of text

Can anyone point me in the direction, or throw me some code on how to grab a certain number of characters, or words from a variable ??

  • Thanks

Never mind, figured it out… something like this…
[AS]string.substr(length);[/AS]

string.substr(0,50)

thx

welcome :thumb: