Question: Hello I want to read a file.csv that contains word pairs like this

```
1 AA 9877.88,BY US,SA 6785.66,....

```

I want to split that data in below format

```
9877.88,US,6785.66,.........

```

I have written below lines of code to read csv file

```
do{
    currentline = br.readline()

    if(currentline != null)
    {

    arrayStrFileRows = currentline.split(",");
}

```

can anyone please help me to arrange data according to the requirement. Thanks in advance

Answer: 
I have got this working in laravel with the following:
add the following 'use'at the top of the controller

```
    use GuzzleHttp\Exception\GuzzleException;
    use GuzzleHttp\Client;
    use ClickSend\Configuration;
    use ClickSend\Api\SMSApi;

```

then the following (as an example) in your function:

```
    $config = Configuration::getDefaultConfiguration()
          ->setUsername('USERNAME')
          ->setPassword('API_KEY');

    $apiInstance = new SMSApi(new Client(),$config);
    $q = "sms/inbound"; // string | Your keyword or query.
    $page = 1; // int | Page number
    $limit = 10; // int | Number of records per page

    try {
        $result = $apiInstance->smsInboundGet($q, $page, $limit);
        print_r($result);
    } catch (Exception $e) {
        echo 'Exception when calling SMSApi->smsInboundGet: ', $e->getMessage(),    PHP_EOL;
    }

```
The vendor ClickSend appears to have very lame support and none functional code and examples.

So I investigated Twilio (other providers are available !!).

Cheaper and the support is actually exemplary.
The support guide actually got what I wanted as a demo in about 10 minutes exactly as the example code stated.

```
composer require twilio/sdk;

```

then

<https://www.twilio.com/docs/sms/quickstart/php#install-php-and-the-twilio-php-helper-library>

Absolutely nothing wrong with composer as ClickSend attempted as an excuse.