String measurement