public class StringFunctions extends Object
| コンストラクタ | 説明 |
|---|---|
StringFunctions() |
| 修飾子とタイプ | メソッド | 説明 |
|---|---|---|
static String |
GetCPPArrayFormatString(String array_name,
int index,
String field_name,
boolean value) |
Generates a string that represents assignment of a value to a field of an arrayed class.
|
static String |
GetCPPArrayFormatString(String array_name,
int index,
String field_name,
float value) |
Generates a string that represents assignment of a value to a field of an arrayed class.
|
static String |
GetCPPArrayFormatString(String array_name,
int index,
String field_name,
int value) |
Generates a string that represents assignment of a value to a field of an arrayed class.
|
static String |
GetCPPArrayFormatString(String array_name,
int index,
String field_name,
String value) |
Generates a string that represents assignment of a value to a field of an arrayed class.
|
static char |
GetFirstNonSpaceCharacter(String str) |
Returns the first non-space character.
|
static String |
GetFirstStringInBetween(String str,
char first_character,
char second_character) |
Returns a string enclosed with two characters.
|
public static String GetCPPArrayFormatString(String array_name, int index, String field_name, int value)
array_name - Name of the arrayindex - Index of the instancefield_name - Name of the fieldvalue - Value to be assignedpublic static String GetCPPArrayFormatString(String array_name, int index, String field_name, float value)
array_name - Name of the arrayindex - Index of the instancefield_name - Name of the fieldvalue - Value to be assignedpublic static String GetCPPArrayFormatString(String array_name, int index, String field_name, boolean value)
array_name - Name of the arrayindex - Index of the instancefield_name - Name of the fieldvalue - Value to be assignedpublic static String GetCPPArrayFormatString(String array_name, int index, String field_name, String value)
array_name - Name of the arrayindex - Index of the instancefield_name - Name of the fieldvalue - Value to be assignedpublic static char GetFirstNonSpaceCharacter(String str)
str - A stringpublic static String GetFirstStringInBetween(String str, char first_character, char second_character)
str - A stringfirst_character - First charactersecond_character - Second characterCopyright © 2019. All rights reserved.