how to copy a certain numer of chars to another string ???

hi,

I’m trying hard to copy 20 chars of a string to another does anyone know how to do that ???
Thanks

Jeff

set x to "blah"
set x to x & " blah"
x --> "blah blah"

I’m looking for a strncpy.
I want to copy a certain number of chars.
thanks

Jeff

set str1 to "blah "
set str2 to "I am a string with plus than twenty characters"
set str1 to str1 & text 1 thru 20 of str2
--> "blah I am a string with p"

thank you a lot.
I wasn’t expecting such a quick qnd efficient answer.
Thanks a lot

Jeff