Sample code for 30+ languages & platforms
Dart

StringBuilder GetBetween

Demonstrates the GetBetween method.

Chilkat Dart Downloads

Dart
import 'package:chilkat/chilkat.dart';

void main() {
  final sb = CkStringBuilder();
  sb.append('<company><name>Chilkat Software</name></company>');

  // For example, to get the company name in the string above...
  final companyName = sb.getBetween('<name>', '</name>');
  print('Company Name = $companyName');
}